Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am running out of some disk space, and noticed Mail has about 30GB of emails stored.

What is the best way to delete these emails? I don't need them as a server has a copy.

share|improve this question
    
possible duplicate of Why do I have 8.3 GB mail on my hard drive even when using gmail? –  patrix Jul 1 '12 at 10:21
add comment

1 Answer

Go to Mail -> Preferences -> Accounts

  1. Choose the mail account
  2. Choose the advanced tab
  3. Change the status of "Keep Copies of message for offline viewing" to "Don't keep..."

Apples's documentation does not say what happens when you change the status, but goes on to state:

It’s recommended to use the default selection (“All messages and their attachments”) so you can search entire messages. Additionally, keeping copies of messages on your computer improves junk mail filtering and includes the messages in Time Machine backups.

share|improve this answer
    
Will that delete already downloaded mail messages for that account, or just for future mail coming in? –  Sheehan Alam Jul 1 '12 at 1:43
1  
@Sheehan I have around 100k mails stored on disk and when I change the option the Mail program freezes and stop to respond while it eats 100% of CPU ... so I think it is deleting already downloaded messages. –  Petr Peller Nov 17 '12 at 15:04
    
I just want to confirm that the steps outlined by Mark (changing the status to "Don't keep...") does delete the retroactive temporary files that Mail.app used for your e-mails. You can confirm this by browsing to ~/Library/Mail/V2. Before I changed the status, this directory was just over 5 gigabytes. Afterward, it is now 37.2 MB. Also, since they are temp files, they do not go to trash. –  Twitch_City May 2 '13 at 16:16
4  
This doesn't seem to work on Mavericks. There is no "Keep Copies of message for offline viewing" option. –  nicholaides Dec 11 '13 at 16:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.