Translator

where is apple mail emails stored?

This topic was chosen from a Google search query that was passed on to the MDB…

Apple Mail’s emails are stored in a unusual location…  You would think, that since it is user created content, that they would be stored in ~Documents, but for some reason Safari Bookmarks, and Apple Mail are actually stored in ~Library.  By the way, the Safari content is in ~Library/Safari. Apple Mail emails are stored in ~Library/Mail.

Inside the ~Library/Mail folder you will find “Envelope Index”.  If you find Apple Mail slowing down, or in Spotlight searches you start getting duplicate results, try deleting the Envelope Index (with Mail Closed, of course), and starting Apple Mail.  Apple Mail will then display an “importing” message, but that is normal….  I have seen no reports of any issues of data loss when using this method….

Duplicating the Mail folder, will allow you to take a snap shot of the mail, rules, and other settings, so that you can migrate it to another system (or just simply back up the data).

In the ~Library/Mail folder, you will find:

  • AvailableFeeds – RSS Data
  • Envelope Index – Headers for the Mail in a pre-compiled form
  • Mail Folders – The Filenames are in the form <method of fetching>-<username>@<mailserver>.  So a pop account for john smith on gmail would be named POP-johnsmith@pop3.gmail.com
  • Mailboxes contain the mbox files that are not stored on the remote server
  • Signatures – Stores the signature files for the accounts
  • SmartMailboxes.plist – contains the query data for the SmartMailboxes
  • MessageUidsAlreadyDownloaded – contains the high message mark for all the accounts (pop, imap, etc)

Hope this helps…  If you would like me to expand on this, please feel free to ask in the comments…

  • Digg
  • Reddit
  • StumbleUpon
  • Twitter
  • LiveJournal
  • Facebook
  • Slashdot
  • Share/Bookmark

Other posts of Interest (By Tag)

Related posts (YARPP):

  1. Create Sub Folders in Mail & Archiving – Mac – Apple Can you create sub-folders in Apple Mail and store them on a drive the way you can do is Microsoft Outlook? In MS Outlook, you could create a .pst folder and create as many sub-folders. Can you do the same thing in Apple Mail? Apple...
  2. Backing up Apple Mail’s Junkmail filter Folks, I normally recommend backing up the entire mail folder (~/library/mail), when you need to backup your Apple Mail…  But what if you want to share your junk mail filter data to another computer?  For example, your significant other’s computer… Copy the ~/library/mail/LSMMap2 file to...
  3. Speeding up Apple Mail by Vacuuming?….. Apple Mail, especially earlier versions of Apple Mail, may start to slow down after a long period of time… Evidently as everyone knows, it is possible to get quite a speed boost out of Mail.app by stripping all the bloat out of its Envelope index,...
  4. Duplicate emails being downloaded from Apple Mail? I’ve tried everything I know and searched everywhere, but I can’t find an answer to this problem. Several of my clients have this issue and now I have it, after adding two new accounts to Mail – both of the new accounts are effected, but...

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>