Apple Mail keeps a local copy of your mailboxes, and by default it downloads every attachment of every message. With an IMAP account of a few years (Gmail, iCloud, Outlook, a work server) that is often 10 to 50 GB on your Mac, counted as Mail or System Data in System Settings › General › Storage. On top of that, each attachment you open is copied to a separate folder that Mail rarely empties.
Where Mail keeps its data
du -sh ~/Library/Mail
du -sh ~/Library/Mail/V*/* 2>/dev/null | sort -h # one folder per account
du -sh ~/Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads ~/Library/Mail\ Downloads 2>/dev/null
If Terminal prints “Operation not permitted”, it needs Full Disk Access (System Settings › Privacy & Security › Full Disk Access); see Full Disk Access on macOS.
~/Library/Mail/V10(the number changes with macOS versions): the messages and their attachments, one folder per account. For an IMAP account this is a cache of what is on the server.- Mail Downloads (
~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads, on older macOS~/Library/Mail Downloads): copies Mail makes when you open or Quick Look an attachment. The original stays in the message.
Delete the attachment copies
The files in Mail Downloads are only copies, so deleting them loses nothing as long as the message still exists. Quit Mail, then move the folder’s contents to the Trash in Finder (Go › Go to Folder… and paste the path), or:
osascript -e 'quit app "Mail"'
open ~/Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads
One catch: if you opened an attachment and edited it in place (a Word file, a PDF you signed), the edited version only exists in that copy. Save it somewhere else first.
Stop Mail from downloading every attachment
In Mail, open Mail › Settings › Accounts, choose the account, then Account Information › Download Attachments:
- All: every attachment, the default.
- Recent: only attachments of recent messages.
- None: attachments are fetched when you open them.
For IMAP and iCloud accounts, None or Recent keeps the local copy from growing without touching the server: Mail fetches an attachment when you open its message. Your messages and attachments stay on the server and on your other devices. Attachments already downloaded may stay until Mail rebuilds the mailbox (Mailbox › Rebuild) or the account is added again.
What not to do
- Don’t delete folders inside
~/Library/Mailby hand. Mail’s index then no longer matches the files, and for a POP or On My Mac mailbox those files are the only copy of your mail. - Message › Remove Attachments deletes the attachment from the message itself, and on an IMAP account also from the server. Use it only for attachments you really want gone.
- To shrink an IMAP account for real, delete or archive large messages on the server (in Mail, sort by size), and empty Deleted Messages.
- Removing an account in System Settings › Internet Accounts deletes its local cache; adding it back downloads everything again. It frees space but is slow, and it loses local-only mailboxes of that account.
How CleanMate does it
On macOS (all macOS features):
- Smart Scan › System Junk › Mail attachment copies: the files in Mail Downloads (both locations) not modified for 7 days (the old-logs age, set in Settings). It is not ticked by default, the files go to the Trash so you can put one back, and the item is skipped while Mail is open. Your messages and their attachments stay untouched: CleanMate never reads or changes
~/Library/Mail. - It needs Full Disk Access, because macOS guards Mail’s folders. Without it the item is skipped and the rest of the scan still runs.
- Space Lens: your home folder by size, so you can see how big
~/Library/Mailis.
For the rest of what macOS counts as System Data, read “System Data” on a Mac takes tens of GB. Download CleanMate.
FAQ
Is it safe to delete Mail Downloads? Yes, with Mail closed. They are copies; the attachment stays in the message.
Will Download Attachments: None delete my mail? No. For IMAP and iCloud accounts the messages stay on the server; Mail just keeps fewer attachments on this Mac.
Why is Mail still big after that? The messages themselves and the index (Envelope Index) take space too. Only fewer messages on the server makes that smaller.

