Mail Account lost after power outage

Hello, Can you help with this dilemma? How do I restore my messages to Mail InBox, OutBox, etc? After re-booting following a power outage, Mail no longer opens to my accounts; Mail prompts to set up new account. It's very similar to this discussion that I found here on the Apple Community: https://discussions.apple.com/thread/1411459 (I have a 10.6.8 Mac Mini).


I found Library folder for Mail and can open my messages there, although I see that there’s no way to identify the message without opening each individual envelope. I have copied my Library Mail folder to a memory stick disk so that I have secured my messages (didn’t have enough memory to copy Mail Library to desktop).


I don’t fully understand the steps in the above discussion link. How should I proceed? For instance, it looks like the first step is to “repair disk.” But when I read the link about that process, I don’t understand. If I’m going to need to repair disk from my install CD, that’s going to be a problem because I think my optical drive has failed and I haven’t done anything to replace it.


Thank you!

Mac mini, Mac OS X (10.6.8)

Posted on Feb 8, 2014 6:12 PM

Reply
63 replies

Feb 9, 2014 7:21 PM in response to MJPF

Thank you. That helped, and I'm trying to proceed. I verified disk (fine), and repaired permissions. Now, I'm trying to follow either step 2 or 3 of the discussion in the above link. However, I'm a novice and can't find "com.apple.mail.plist." From finder>Computer>Library>Preferences> I see files like com.apple.security.plist, but not mail.plist. Does that mean it was automatically discarded? If so, should I go ahead and re-set my mail accounts like it says in the link?


Step 1 suggested copying file from my back-up. I had been backing up with TM to an external device that failed a few months ago while it was still under warranty. In the process of working with the company to return it and get a replacement device, I was checking for some emails on the failed device and could not find them. So when I got my replacement, I only backed up frequently enough to secure IPhoto and document changes, since I didn't think it was working for Mail. That was my ignorance. Because now I see that there is a MailTimeMachineHelper in package contents of Mail. All that to say: I'd rather restore my messages from my library than from my back-up since my last back-up was 2-3 weeks ago.



This is a copy of step 2 and 3 from the link that I'm trying to follow:

"(2) Set up your mail accounts again (you may want to quit Mail and trash the new com.apple.mail.plist first to start over). If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in~/Library/Mail/ when done. You’ll also have to re-configure some of theMail > Preferences settings. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.


(3) Mail may have renamed the old preferences file tocom.apple.mail.plist.saved. If that’s the case, you may try trashing the newcom.apple.mail.plist and renaming the old com.apple.mail.plist.savedback to com.apple.mail.plist. Again, be sure Mail isn’t running while doing this. Given the circumstances, there exists the possibility thatcom.apple.mail.plist.saved became corrupt, but that often is not the case and the settings can usually be restored by just renaming the file back tocom.apple.mail.plist."


https://discussions.apple.com/thread/1411459 This is the discussion I've been trying to follow because the problem was reportedly fixed. However, this discussion https://discussions.apple.com/thread/2086010?tstart=0 apparently tried something similar, and I don't know final outcome:


Am I on the right track?


Thank you very much.

Feb 10, 2014 4:23 AM in response to MJPF

MJPF wrote:


can't find "com.apple.mail.plist." From finder>Computer>Library>Preferences> I see files like com.apple.security.plist, but not mail.plist. Does that mean it was automatically discarded? If so, should I go ahead and re-set my mail accounts like it says in the link?


Quit Mail

In Finder. enter ⇧⌘G, enter ~/Library/Preferences/ and look for com.apple.mail.plist


Then Open Mail, and set up your account.

Feb 10, 2014 8:50 AM in response to Tony T1

Thank you, Tony!


I followed your steps, and I still can't find the mail.plist. Trying to proceed, I found another discussion about "missing plist" and tried that solution (can't remember the specifics but Container and Data Folder were involved). I still couldn't find it.


If I go ahead and set up my Mail Account again, will the messages in my Library be restored even though I haven't found the plist? Or is the plist crucial in this process?


Please forgive me for being dense. I really appreciate your help!

(10.6.8 Mac Mini)

Feb 10, 2014 9:08 AM in response to MJPF

Give it a try, you should not loose any emials (and you said you have a backup, just in case)



If after you have set-up the mail accounts you still do not see your emails, then a re-index may be necessary:

from: http://osxdaily.com/2013/08/01/rebuild-mailbox-reindex-messages-mail-mac-os-x/


  • Quit out of Mail app and go to the Finder
  • Hit Command+Shift+G and go to the following path:
  • ~/Library/Mail/V2/MailData/
  • Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)


User uploaded file


Close the MailData window, then relaunch Mail app to force reindexing


"Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again."

Feb 10, 2014 2:18 PM in response to Tony T1

Thanks again, Tony! That really helped. I'm 80% successful without re-indexing!


When I set up my main email account, all the inbox messages were restored. There was a prompt stating something to the effect of "sent" messages being "delivered." I remembered in Gost's instructions, there was the notation that the Outbox might be re-named. However, I was thinking that the messages would be restored.


I added my second Mail account info. The Inbox AND sent messages were both restored!


Do you know of a way to restore the sent messages of my primary account without re-indexing?


Thanks so much!

Feb 10, 2014 7:02 PM in response to MJPF

Just had a quick read and noticed:

1 - A tilda ~ in front of a path indicates that it is in your home folder not at the root - you were looking in the wrong Library for your Mail preferences.


2 - You said "didn’t have enough memory to copy Mail Library to desktop". There is something seriously wrong here. Did you run out of disk space? If so serious email client corruption is, in my experience, a very likely outcome.

Feb 10, 2014 9:34 PM in response to Neville Hillyer

Thank you, Tony! I will get to work on that.


Thank you, Neville! Yes, this is something I need to figure out about my disk space. Could you tell me what you think the problem is in this thread, or should that be another discussion? This is the gist: We have been getting prompts farily recently that start-up disk is almost full. I deleted programs we no longer use, for instance, Parallels and also a VOIP program. But I still sometimes get the prompt if I am online for a period of time without re-booting. So, in this situation, when I got prompt that Mail Library couldn't be copied to desktop, I copied it to a memory stick.


Also, can you clarify re "serious email client corruption?" Do you mean like this incident when my email was lost during the power outage? Or something else?


Thanks so much!

Feb 11, 2014 3:54 AM in response to MJPF

I suspect the sole cause of all recent problems was taking insufficient notice of the disk space warnings.


To check your disk use do a Get Info: highlight your hard disk icon and press cmd (Apple Key) and the i key.


It will show:


  1. Capacity
  2. Available
  3. Used


I have seen some advise that you should ensure that you always have 10% of free (Available) space on your disk but my investigations failed to indicate any requirement for a percentage of disk size. There can be a connection between RAM size and required free space especially for laptops. My tests indicate that a running OS X can be quite happy with 0.1 GB of unused disk space. However, it was while testing less free space that I got serious email client corruption. My view is that it is prudent to take action if the free space gets below 1 GB - perhaps 1 GB + RAM size for laptops.


Deleting applications is unlikely to be the answer. The things which usually take most space are:


  1. Movies
  2. Photos
  3. Music


Backup infrequently used items to at least two other places (perhaps an external disk and DVDs) and then delete them from your Mac.


If memory (RAM) is insufficient the Mac will slow as it keeps moving RAM contents to and from the disk. My view is that the modern addiction to using tabs in browsers is one of the main causes of this. Use bookmarks more and tabs less or not at all.


Close all tabs and Shut Down once a day.


Use Applejack with the following instruction once a month:


applejack AUTO shutdown


If you need more help with email I will need to know if it is POP or IMAP and if you only access it from the one computer.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail Account lost after power outage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.