Drastically Improve Mail.app Speed

When Mail.app has too many messages, it can take a few seconds to start. One great way to reduce this load time is by stripping out unnecessary information. Open Terminal.app and type the following command:
sqlite3 ~/Library/Mail/Envelope\ Index vacuum subjects;

To get out of the SQLite command interface, press Control D

To see how much space your saving, run the following command before and after:
ls -lah ~/Library/Mail/Envelope\ Index

You can also run the following command if you’d like to try and gain even more performance:
sqlite3 ~/Library/Mail/Envelope\ Index vacuum body;

Mail.app should now start much faster than it previously did.

Leave a Reply