Spring Cleaning: Four ways to reclaim diskspace
Every now and then Mail.app’s ~/Library/Mail folder deserves a spring clean.
There are at least four ways to reclaim disk space from Apple Mail:
- Kill duplicate attachments. Adam Jury has posted
a nice systematic method of trimming out all the attachments from your old emails. As he points out, many of them only duplicate files that are stored elsewhere on your computer anyway. Lots to slash and burn there. - Empty your Attachments folders. In addition, Mail 2.0 stores some attachments that you have opened or edited in a folder named ~/Library/Mail Downloads. Depending on your settings (see the fifth and sixth drop-down options in Mail > Preferences > General), Mail.app may store things in there forever. Prune without mercy.
- Trim Mail’s SQLite database. Mail’s internal database is by far the biggest file in your Mail folder. Over time it gets bigger, more bloated and a bit cranky. You can delete it and force a rebuild which will produce a much smaller file and — added bonus — a speed bump. You can read about this in an earlier Hawk Wings tip.
- Clean out pre-Tiger files. If you were using Mail when you upgraded to Tiger, there may be useless files in your Mail folder that you can safely remove. I cut down the size of my Mail folder by 25% doing this. The Apple technote
referred to in this earlier tip explains how to do that.
Needless to say, all of this is best done after you have quit Mail and backed up everything first by dragging your Mail folder from the Finder onto the Desktop. Just in case.
Similar Posts:
- Reclaiming disk space from Apple Mail
- The final solution: Deleting Mail.app entirely
- Leaner Mail Folders
- What’s in your Mail folder?
- VacuumMail: Automated Mail vacuuming via Launchd
Tags: Apple Mail, Apple Mail Tips, attachments, disk space, mail.app, reclaiming, spring clean

April 12th, 2006 at 9:12 am
Saving a backup on the Desktop? Yuk. :-) I’d select ~/Library/Mail and File > Duplicate [command-D] a copy right in the same (~/Library) folder.
. . .
Before making significant changes that might specifically disrupt Mail/PIM data I manually run a SuperDuper! copy script to save a sparse image file backup. That includes preference files, too.
For others sorts of quick-and-dirty backups I sometimes use “Create Archive of …” from the shortcut menu (as Apple’s calling it lately) to create a zip archive of selected items, possibly renaming it and maybe later moving it somewhere else if it’s worthy of keeping awhile.
October 26th, 2006 at 11:15 pm
[...] It’s Spring in Australia, so I’ve been spring cleaning Mail (See “Spring cleaning to regain disk space”). [...]
July 8th, 2008 at 12:52 am
[...] with it, and a bunch of stuff hidden in my mail libraries. HawkWings helps with the mail problems, here. Getting rid of attachments on some outdated client work trimmed things nicely. Too, it tturns out [...]