Mail taking up 30GB disk space

Discussion in 'MacBook Air' started by johnnyindia, Feb 23, 2012.

  1. johnnyindia macrumors member

    Jun 4, 2010
    I use the Mac Mail program to read my mail from my gmail accounts.

    I used OmniDisk Sweeper and noticed that almost 30GB of space is taken up in this folder

    library/mail/V2/mailboxes/recovered messages/BAFA(w/ #)/....

    ANy idea on how to free up this space? I don't really need touse the mail client, and would rather have 30 gigs of free space back on my HD.

  2. macmastersam macrumors 6502a

    Sep 14, 2011
    Essex, england
    Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

    Try deleting some mail, see if that helps.
  3. jonomo macrumors regular

    Apr 28, 2005
    Didn't realize that Mail was such a memory hog.. Anyway to check how much space it's taking without using Omnidisk?
  4. johnnyindia thread starter macrumors member

    Jun 4, 2010
    somehow that folder just jumped to there something strange here? or does this just mean i have too many attachments or something?

    whats the best way to delete all my mail? im just going to use
  5. talmy macrumors 601


    Oct 26, 2009
    Start the terminal app and type in the command:

    du -sk Library/Mail
    and it will show you the space take in units of kilobytes.

    I'm using 3.5GB myself.
  6. johnnyindia thread starter macrumors member

    Jun 4, 2010
  7. johnnyindia, Feb 23, 2012
    Last edited: Feb 23, 2012

    johnnyindia thread starter macrumors member

    Jun 4, 2010
    i found a ton of 318.6MB files that look like this "67009.emlx" in my V2 mail folder using disksweeper

    there are 40 GB worth of these when i look at omni disk sweeper.

    can i just delete these? what are they?
  8. Bear macrumors G3

    Jul 23, 2002
    Sol III - Terra
    .emlx are your mail messages.

    Do you use POP or IMAP with gmail?

    If it's POP, select your gmail account and do a Mailbox->Rebuild from the menu and see if this helps.

    If you use IMAP, do the above Rebuild for each folder.

    This may or may not help, but it's simple and quick.
  9. Dweez macrumors 65816


    Jun 13, 2011
    Down by the river
    It may be time to start cleaning up your mail?
  10. rob14 macrumors newbie

    Dec 21, 2011
    what's happening is the application is locally archiving all your emails...this happened to me, to the tune of 500GB, yes 500 GB.

    Took it too Apple, they cleaned it up in a second, turn off local archiving in the settings and you should be set...or start deleting emails.
  11. orfeas0 macrumors 6502a

    Aug 21, 2010
    Athens, Greece
    Gmail only gives me 7,5gb of space, how can u guys have mails of 50 and 500(!!!!) gb?
  12. johnnyindia thread starter macrumors member

    Jun 4, 2010
    what's the easiest way to delete all these messages? i no longer wish to use MAIL at all. I will stick to logining into gmail.

  13. Bear macrumors G3

    Jul 23, 2002
    Sol III - Terra
    In Mail, delete the gmail account. That should clean up the disk space it uses.
  14. rob14 macrumors newbie

    Dec 21, 2011
    yes, just go into settings and delete the account from Mail. There will no longer be any mail client setup to the application.
  15. johnnyindia thread starter macrumors member

    Jun 4, 2010
    delted my inboxes yet disksweeper is still showing 30GB in "recovered mail files" and 10.3GB in "deleted messages"

    there is a delete option on disksweeper. should i just click these folders and hit delete?

    also, since I deleted my gmail addresses from my mail, does this mean that these 40GB of "recovered and deleted messages" are from something else, and I can use my gmail with the MAIL program and not worry about it taking up 50GB of space....where are these GB coming from?
  16. DDustiNN macrumors 68000


    Jan 27, 2011
    I had this same problem and this is how I solved it:

    Go to then go to Settings --> Forwarding and POP/IMAP.

    Under the IMAP section, make sure Enable IMAP is on and Auto-Expunge is on. Then the important part: under the Folder Size Limits select Limit IMAP folders to contain no more than this many messages (I chose 1000).

    This will severely clean up your Mail size (I think mine went down to like 20 MB or something).

    The only disadvantage is that you can't use the Search feature in Mail, but it's not too big of a deal... you can just go to if you need to search.
  17. palebluedot macrumors 6502a


    Jun 29, 2008
    IMHO your "All Mail" folder is being locally stored and I presume you have huge amounts of data in your "All Mail" folder. I use GMail (two accounts, plus other email services) on Mail and have no problem. You can disable the All Mail download. Personally I like to have all my email stored locally in addition to GMail's servers as I am not a huge fan of cloud apps or storage alone, but to each his own. You could still use email via IMAP and just keep the All Mail folder from downloading, as listed above.
  18. ntrigue macrumors 68040


    Jul 30, 2007
    I am very aware this is an old thread but there was a lot of misinformation.


    In go to Preferences. Select each account that you DO NOT need local storage of attachments and emails. Select Advanced and then below Keep copies of messages for offline viewing you will select 'Don't keep copies of any messages' to make the greatest gains. Alternatively, 'All messages but omit attachments' will give you more modest gains.

    Just as with iPhoto Library it is not safe to go digging in V2.
  19. Mr Rabbit macrumors 6502a

    Mr Rabbit

    May 13, 2013
    I've also seen the out of control "recovered messages" folder issue before. The few times I've come across the issue is when someone has attempted to send an email with a large (>35MB) attachment using Gmail. Apparently this is over the limit provided by Gmail and rather than just give an error Gmail or Mail instead gets stuck in a loop of sending this message & attachment to a recovered messages folder.

    This explains the steps needed to fix this situation


Share This Page