How to clear Mail storage on Mac

The default macOS Mail app is an invisible space eater. It keeps you in the dark about the actual storage it uses, and if left unchecked, the Mail app may silently grow to an enormous size. But here, we’ll try to trim down its size, and you’ll see how easy it is. Keep on reading to learn how to delete Mail storage on Mac.

How to check the space Mail is taking up

Before you do anything, let’s investigate how serious your storage problem is. The storage Mail occupies consists of two parts: the Mail app itself and your user-created data.

  1. Open the Apple menu > About This Mac > More Info > Storage Settings.
  2. Choose Mail from the list and click the i icon. 

Now I know that my Mail takes up around 61 MB of storage. But that’s far from true and doesn’t take into account your downloaded messages and attachments. Hence, to delete Mail storage on Mac, the easiest is to start with Mail attachments and junk mail.

Whether you download attachments or leave them on your mail server, they take up space somewhere. And if you get lots of attachments, that can mean occupying quite a bit of space. Remember, it’s not just documents, PDFs, and photos that are sent as attachments; company logos and other images in email signatures are attachments, too. The solution is to delete those you no longer need, perhaps after archiving them if you think you may need them in the future.

How to delete mail and Mail attachments on Mac

1. Automatically delete all mail attachments on Mac

If you want to free up space used by Mail quickly and easily and delete attachments in bulk without having to locate them in the Finder, there is an easy way. CleanMyMac X has a utility specially designed to remove Mail attachments.

  1. Download CleanMyMac X and then open it.
  2. Click on the Mail Attachments tab.
  3. Click Scan.
  4. Click Clean to remove them at once.
  5. If you’d prefer to look over the attachments before deleting them, scroll through the list of attachments and deselect the box next to any you want to keep.
  6. Click Clean.
Scan completed in Mail Attachments module of CleanMyMac X

CleanMyMac can also delete attachments from third-party email clients, such as Outlook and Spark. Therefore, if you use these email apps, you can easily locate unneeded attachments and delete them in a few clicks. With the help of CleanMyMac X, you can also scan your Mac for other junk files and malware threats as well as speed up your computer. All that in a few clicks.

Attachments in Mail can occupy several gigabytes of disk space on your Mac. Manually removing them to free up space can be a long and laborious process. If you do decide to use a manual method, deleting them from within Mail is the safest option. However, it’s much easier to use CleanMyMac X to do the job. And remember, if you delete attachments on your Mac, if you use an IMAP account like iCloud mail or Gmail, your attachments will not remain on the server and cannot be retrieved when you need them.

2. Delete attachments in single messages

  1. In Mail, locate the message which has the attachment you want to delete. If you’re having trouble finding messages with attachments, you can click the View menu and then Sort by > Attachments.
  2. Click on the message.
  3. Select the Message menu in the menu bar and choose Remove Attachment.
  4. Repeat for every message whose attachment you want to delete.

You can remove attachments from multiple messages at the same time by shift-clicking on messages to select them and then choosing Message > Remove Attachments. If you want to remove all the messages with attachments, as well as the attachments themselves, you can select all the messages that have attachments in one go and delete them.

How to archive attachments before you delete them

  1. Repeat steps 1 and 2 above.
  2. Move the mouse pointer to the line above the body of the message, and you’ll see five icons: trash, reply, reply all, forward, and attachment.
  3. Click on the attachment icon and choose Save All.
  4. Choose a location to save the attachment and select Save.

3. Remove mail attachments in the Finder

If you have too many attachments to remove one message at a time, there is another way. Mail stores attachments you’ve downloaded in your Library folder. You can locate them and drag them to the Trash to free up space. However, that will only delete those you’ve downloaded and free up space on your Mac; it won’t remove them from your email provider’s server. Here’s how to find and remove them.

  1. Click on the Finder icon in the Dock.
  2. Choose the Go menu and click Go to Folder.
  3. In the text box, type the following: ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/ 
  4. Press Return.

A Finder window will open at that location, showing you the contents of the Mail Downloads folder. Inside Mail Downloads are lots of other folders. And inside those folders are the attachments you’ve downloaded. To find out what’s inside each folder, you’ll have to open it. However, if you just want to delete everything Mail has downloaded, you can drag all the folders to the Trash.

That’s not the only place Mail stores attachments, however. There are also attachments in ~/Library/Mail/V6 (there may be another number after V). Again, there are lots of sub-folders inside the V6 folder, and some of them contain mailboxes. Some of those mailboxes have attachments folders in them. Tracking down attachments this way could take hours or even longer.

4. Delete Junk Mail

There are a few final tips to help you clear Mail storage on Mac.

To delete Junk Mail and Deleted items:

    • Open Mail and choose the Mailbox in the upper menu.
    • You’ll see two options: Erase Deleted Items and Erase Junk Mail.                   

    This will clear up some portion of Mail storage.

    5. Check contents of your Mail folder

    While it’s generally not recommended to mess with the inner contents of Mail in Library, you can at least go there and look for any suspiciously large objects. 

    Open Finder > Go > Go to Folder...
    Paste in the following combination: ~/Library/Containers/com.apple.mail/Data

    Examine the contents of that directory and double-check any items you plan to delete.

    How to change Mail’s attachment settings?

    Mail Attachments can either remain on the server or be downloaded to your Mac, depending on the type of file and the option you specify in Account Settings. For example, images, PDFs, video, and audio files are always downloaded, and they’re displayed in the body of the email. You can choose whether other types of files are downloaded by doing the following:

    1. Open Mail.
    2. Click the Mail menu and choose Settings.
    3. Select the Accounts button and the Account Information tab.
    4. Choose an option next to Download Attachments — in my case, None.

     This is how you clear Mail storage on Mac.

    FAQ

    Why is Mail taking up so much space on my Mac?

    Mail often comes with attachments, such as pictures, documents, video files, etc., that may clutter your storage eventually. If you use Mail often and don’t have a lot of free space on your Mac, consider removing unneeded attachments.

    Where is my Mail data stored?

    Your Mac stores all Mail data in the Library. Go to Finder and press Shift-Command-G. Copy and paste this location: ~/Library/Mail/ and press Return. You may see many subfolders inside this folder, and some of them have attachments folders.

    How to remove Mail attachments on a Mac?

    Open the Mail app on your Mac and delete attachments one by one by clicking Message > Remove Attachments. You can also select multiple messages and remove attachments the same way. If you’re looking for an effortless solution, try the Mail Attachments feature in CleanMyMac X.

    Laptop with CleanMyMac
    CleanMyMac X

    Your Mac. As good as new.