Why Does Mac Mail App Use So Much Storage?
In this article
The Mac Mail app uses a lot of storage because it keeps every message, every attachment, and the indexing data it needs to search your mail locally, and it does not automatically purge old items.
What You’ll Need
- A Mac running macOS (any recent version)
- Administrator access to change system preferences
- Enough free disk space to temporarily hold rebuilt mailboxes
- The Mail app open and at least one email account configured
Step-by-Step
- Identify how much space Mail is using. Open the Apple menu > About This Mac > Storage > Manage…. In the sidebar select Mail. The pane shows the total size of the Mail data folder. This gives you a baseline before you start cleaning.
-
Locate the Mail data folder. In Finder, choose Go > Go to Folder… and type
~/Library/Mail/V(the "V" folder number varies by macOS version, e.g., V8, V9). Inside you will see subfolders for each account and aMailDatafolder that stores indexes and caches. -
Adjust mailbox behavior settings. Open Mail, then go to Mail > Preferences… > Accounts. Select an account, click the Mailbox Behaviors tab, and review the following options:
- “Store sent messages on the server” – uncheck if you don’t need a local copy.
- “Store draft messages on the server” – similar.
- “Erase deleted messages when they have been removed from the server” – enable to keep the Trash folder from growing.
-
Delete or archive large attachments. In Mail, use the search bar and type
has:attachment. Sort the results by size (click the column header “Size” if visible, or use View > Sort By > Size). Select the biggest messages, right‑click and choose Remove Attachments. The message body stays, but the attachment file is removed from your local storage. - Empty the Trash and Junk folders. Right‑click the Trash mailbox and select Erase Deleted Items. Do the same for Junk. This frees space that would otherwise be counted as used.
-
Rebuild mailboxes to shrink index files. In the Mail sidebar, select a mailbox (e.g., Inbox). Choose Mailbox > Rebuild. Repeat for each major mailbox (Sent, Drafts, Archive). Rebuilding forces Mail to recreate its envelope index and can dramatically reduce the size of the
MailDatafolder. - Move old mail to an external archive. Create a new folder on an external drive (or a different volume). In Mail, select the messages you want to archive, drag them to the new folder in Finder, then delete them from Mail. Because the messages are now stored outside the Mail data folder, they no longer count toward the app’s storage.
- Disable “Mail” in iCloud sync if not needed. Open System Settings (or System Preferences on older macOS) > Apple ID > iCloud. Uncheck Mail if you rely solely on the server and do not need local copies synced via iCloud. This stops additional copies from being stored locally.
- Verify the result. Return to About This Mac > Storage > Manage… > Mail. The size should be noticeably smaller. If the reduction is minimal, repeat steps 4‑7 for other accounts or larger date ranges.
Common Mistakes
Many users delete messages in Mail but forget to empty the Trash, so the space is never reclaimed. Another frequent error is disabling “Remove deleted messages when removed from the server” – this leaves a local copy of every deleted email forever. Finally, some people delete attachments from the message view but do not choose the explicit “Remove Attachments” command, which only removes the preview, not the underlying file.
Tips
- Schedule a monthly review of the
MailDatafolder size; a sudden jump often signals a large attachment influx. - Use the built‑in “Smart Mailbox” with criteria
date: < 1 year agoandhas:attachmentto isolate old, attachment‑heavy mail for archiving. - If you use multiple accounts, treat each one separately – a POP account stores everything locally, while an IMAP account mirrors the server but still caches data.
- Consider turning off “Mail” in iCloud only after confirming that all your accounts are set to keep messages on the server.
- When rebuilding, be patient; large mailboxes can take several minutes, and interrupting the process may corrupt the index.
Troubleshooting
If the steps above do not free the expected amount of space, follow this escalation path:
- Restart Mail and your Mac. A fresh launch clears temporary caches that may be inflating the reported size.
- Check for macOS updates. Apple sometimes releases patches that improve Mail’s storage handling. Open System Settings > General > Software Update.
- Delete the envelope index manually. Quit Mail, then in Finder go to
~/Library/Mail/V*/MailDataand move files namedEnvelope Index(and anyEnvelope Index‑shm,Envelope Index‑wal) to the Trash. Reopen Mail; it will rebuild the index automatically. This can reclaim several gigabytes but may take time. - Reset Mail preferences. If the app behaves oddly after many changes, rename
~/Library/Preferences/com.apple.mail.plisttocom.apple.mail.plist.bakand relaunch Mail. You will need to re‑enter account credentials, but the app will start with a clean configuration. - Reinstall macOS (last resort). If the Mail folder is corrupted beyond repair, a reinstall of the operating system without erasing the drive will replace system files while preserving user data. Back up your Mail data first by copying the entire
~/Library/Mailfolder to an external drive.
Frequently Asked Questions
Why does Mail keep old messages even after I delete them?
Mail stores a copy in the Trash mailbox until you explicitly choose Erase Deleted Items. The Trash is not automatically emptied to prevent accidental loss.
Can I limit the size of the Mail cache?
macOS does not provide a direct size limit for Mail’s cache. The practical way to control it is by deleting attachments, emptying Trash, and rebuilding mailboxes regularly.
Do IMAP accounts use more local storage than POP accounts?
Both store a local copy for offline access, but POP accounts typically download every message permanently, while IMAP only caches what you have opened unless you change the “Keep copies of messages for offline viewing” setting.
Will disabling iCloud Mail delete the messages already on my Mac?
No. Turning off iCloud Mail stops further syncing, but the existing local copies remain until you delete them manually.
Is there a way to automatically delete attachments after a certain period?
Mail does not include a built‑in auto‑purge for attachments. You can create a Smart Mailbox that isolates old attachment‑heavy messages and then manually remove the attachments.
Does rebuilding a mailbox delete any of my emails?
No. Rebuilding only recreates the index files. All messages remain intact; however, the process can temporarily make the mailbox appear empty while the index is rebuilt.