VacuumMail is an AppleScript application that performs the "vacuum" command on Apple Mail's underlying SQLite EnvelopeIndex database. This must not be done while Mail is running, so VacuumMail will first check to see if Mail is running and if so, it will close Mail (giving you a chance to opt out, of course!). If Mail was running when the process begins, VacuumMail will restart Mail when it's finished, and will let you know how much it was able to compact the database.
VacuumMail is designed to be incorporated into an automated maintenance routine and run at regular intervals. This is the purpose for the Launch Agent more...
RequirementsMac OS X 10.4 or later
*Previously available here