Mail in macOS is the most popular tool for working with mail on Apple computers. It allows you to easily create email messages, respond to received mail and store the mail in an orderly manner.
Despite the fact that Apple updates and optimizes Mail with each new version of the operating system, the program may run slower. The reason for the backlog of emails. If you use your email program for a long period of time, the application will require optimization.
Any Mac user with a simple action can speed up your Mail by running the Vacuum command to SQLite database. About how to do it, later in instructions MacDigger.
Step 1: Start the Automator app from the applications folder. This is the standard solution for the automation of operations under the operating system macOS.
Step 2: In the opened window, click “New document”, then select the document type “Process”.
Step 3: In the main Automator window there is a search bar with a list of actions. In it write “Finish”.
Step 4: Locate “Terminate the program” and drag this action into the right part of the window.
Step 5: the action “Terminate program” has a drop-down list. Click on it and select “Mail”.
Step 6: Now you need to set the command. In the search bar, type “shell” and drag “Run shell script” to the right side of the Automator window.
Step 7: In the field “Run shell script” should be added to the team. This is the primary action necessary to expedite Mail. Depending on the version of the operating system it is:
- Sierra (10.12.x): sqlite3 ~/Library/Mail/V4/MailData/Envelope Index vacuum;
- El Capitan (10.11.x): sqlite3 ~/Library/Mail/V3/MailData/Envelope Index vacuum;
- Snow Leopard: sqlite3 ~/Library/Mail/Envelope Index vacuum;
Step 8: navigate back to the search bar and write “Start”, then drag the action “Run a program” in the right part of the window below the “Run shell script”.
Step 9: From the drop-down menu, select “Mail”.
Step 10: Now from the File menu, click the “Save” option and name the process at its discretion.
Step 11: Click “Start” on the top of the Automator window. The program itself will close Mail, will optimize the database and re-launch Mail.
From time to time repeat the procedure to avoid slowing down the mail app on your Mac.