turbocharge Apple Mail by vacuuming its Envelope Index database
Following the directions on that web site, I quit the Mail application. I then opened Terminal and ran the following optional command so that I could see the size of Mail’s Envelope database before and after the cleanup:
% ls -lah ~/Library/Mail/Envelope\ Index -rw-r--r-- 1 zach zach 42M Mar 6 00:55 /Users/zach/Library/Mail/Envelope Index I then ran the actual cleanup command: % sqlite3 ~/Library/Mail/Envelope\ Index vacuum index; That took about a minute. I then again checked the size of the Envelope Index: % ls -lah ~/Library/Mail/Envelope\ Index -rw-r--r-- 1 zach zach 25M Mar 6 01:07 /Users/zach/Library/Mail/Envelope Index
Hot damn! The database dropped in size from 42Mb down to 25Mb. I ran Mail, and it popped up near instantaneously. Wouldn’t you know, it is now lightning fast to open folders full of thousands of messages. Before I “vacuumed” the Envelope index, such a folder might have taken upwards of 10 seconds to open.
If you’re running OS X Tiger and have been using Apple’s Mail application, do yourself a favor and try running the commands to “vacuum” Mail’s Envelope Index. If Mail.app has been slow, you may be shocked by the increase in speed. At the very least, you’ll recover a bit of disk space.















