Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion ate ALL my Mail

This is NOT good. Granted I keep tens of thousands of messages in dozens of folders, but they're all important to me in one way or another.


With the Mail conversion that took place as part of my Lion install (conversion by itself took an hour or two), I was left with a message that said my Mail index was screwed, but that it would be recreated after the next restart. Not so! Or at least there's no evidence that anything is happening. When I launch Mail, no windows or messages appear... just the bar at the top. If I right-click the icon in the dock, it says "application not responding".


I know that "application not responding" doesn't always mean that nothing is happening, so I'll probably wait overnight to see if anything has developed by morning.


Anyway, I neeed to prepare for the worst. How do I back out of this new Mail app altogether, so that I can restore my email from Time Machine?


...Charles

Posted on Jul 20, 2011 4:47 PM

Reply
Question marked as Best reply

Posted on Jul 20, 2011 4:52 PM

The only way to revert to the old Mail app is to go back to Snow Leopard.


In terms of the problem you are experiencing, if it does not fix itself by running all night, then I suggest that you simply restore your email data from Time Machine and try again. If it screws up again, we can start troubleshooting from there.


Cheers,


Rodney


p.s. I have migrated 4 IMAP email accounts and 1 Exchange account and thousands of associated emails without a hitch so far - so I am hoping that this is a glitch rather than a systemic problem. Time will tell!

130 replies
Question marked as Best reply

Jul 20, 2011 4:52 PM in response to cp_whaley

The only way to revert to the old Mail app is to go back to Snow Leopard.


In terms of the problem you are experiencing, if it does not fix itself by running all night, then I suggest that you simply restore your email data from Time Machine and try again. If it screws up again, we can start troubleshooting from there.


Cheers,


Rodney


p.s. I have migrated 4 IMAP email accounts and 1 Exchange account and thousands of associated emails without a hitch so far - so I am hoping that this is a glitch rather than a systemic problem. Time will tell!

Jul 20, 2011 5:03 PM in response to RodneyW

I'll definitely reply with either the overnight results or the solution you suggested.


I assume that would mean a re-install of Lion from scratch? Otherwise how would I get the new Mail app (which isn't working right now) to re-convert my old files?


And, for that matter, this is the first time I've downloaded an OS X version. Can I re-download it without being charged for a second copy?

Jul 20, 2011 5:16 PM in response to cp_whaley

I receive the following message when I launch Mail and try to upgrade/import:


The import failed.

An error occurred during the import. Make sure you have available space in your home folder and try again.


I looked in Console.app (in Applications/Utilities) and found the following error:


Mail: Copy from /Users/myuser/Library/Mail/V2/MailData/Envelope Index to /Users/myuser/Library/Mail/V2/MailData/Envelope Index-4 failed with 14: not an error


It continues to increment each time I attempt to run the import. The file permissions on "Envelope Index" seem kind of interesting:


myuser (Me) Read & Write

myuser (Me) Read only

everyone Read Only


Compared to the permissions of the copies its made:


myuser (Me) Read & Write

staff Read Only

everyone Read Only


Does this mean anything to anyone?

Jul 20, 2011 5:21 PM in response to cp_whaley

help mail is your friend:


Mail uses files called “Envelope Index files” to keep track of messages in your local mailboxes. If there are problems with information in your mailboxes, you might see an alert message saying that Mail needs to repair your mailboxes by reindexing your messages for you.

At other times, you may want to reindex messages yourself—for example, when searching mailboxes using Subject, To, or From doesn’t return the correct results.

  1. Quit Mail if it’s open.
  2. In ~/Library/Mail/V2/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.Your home Library folder is hidden by default. To display it, choose Finder > “Go to Folder” and then enter “~/Library.”
  3. Open Mail.Mail creates new Envelope Index files. This process may take a few minutes, depending on how many messages Mail is reindexing.

Jul 20, 2011 5:27 PM in response to cp_whaley

G'day Charles,


You can download Lion again, but it should not be necessary for this problem.


To restore your email from Time Machine, I would enter Time Machine from Finder, and browse backwards in time to the last backup under Snow Leopard. Then select the /Users/yourusername/Library/Mail folder, and restore it.


This will replace your corrupted email store on Lion, and give you the chance to do it again.

Jul 20, 2011 7:23 PM in response to cp_whaley

Just a quick update to anyone who may still be following this tonight.


Timothy, I really think that your problem is totally different from mine, so if deivy's suggestion for your issue doesn't work for you, you might get more responses by opening a new topic.


deivy... yes I know there is Help documentation if I could access it. The new Mail is dead to me, including Help. Thanks for copying over the relevant sections. I tried that without success.


I wish there was something... anything... displayed when I launch the new mail. All I get is the standard bar of menus at the top.. none of which will open. And no windows at all. You'd think that if it couldn't find mail, it would act like it was starting from scratch... waiting for me to set everything up.


Unless there are any further suggestions tonight, here's my plan...


1. Quit being impatient. At midnight, I'll shut down all apps, do a restart, and only launch the new Mail. I'll repeat deivy's instructions again if necessary to eliminate those files. Then I'll wait to see if it has done anything by morning.


2. Failing that, I'll try Rodney's suggestion on the Time Machine restore, but if the new Mail is totally unresponsive now, I'm sceptical about it reactivating and attempting the conversion again. We'll see.


3. Download and install Lion again. Since I haven't done an OS install from a download before, I assume that the installer isn't still sitting on my Mac somewhere? I'll have to do it from the Mac store again?


More to report tomorrow.


...Charles

Jul 20, 2011 8:35 PM in response to cp_whaley

Charles,

sorry to hear it is so bad.

I don't know if you tried trashing(*) mail preferences file.









(*)Trash in this case is quit Mail and rename com.apple.Mail to com.apple.Nail (for instance).

Now launch Mail. If the probelm persists then you know is not the preferences file and you can rename it to "Mail" s as not to have to do all the selections again

Jul 20, 2011 10:19 PM in response to cp_whaley

I was having the same problem: Upgrade to Lion, run Mail, at various points while "upgrading" my previous emails, Mail.app would just quit.


I did the following, though I don't know if both were necessary:


1. Downloaded SpeedMail.app and ran it. (in short, runss sqlite3 command in terminal)

2. Removed "Envelope Index" from ~/Library/Mail


Opened Mail.app, and now it is importing 102,000+ emails. Thanks!

Jul 20, 2011 11:35 PM in response to cp_whaley

Hi


Can you help someone totally out of their depth!


When I click on the Mail icon a message box appears:


Restore Windows

The application "Mail" was forced to quit while trying to restore its windows. Do you want to try to restore its windows again?

The options are: "Don't Restore Windows" or "Restore windows"


Which ever option I select I get the spinning beach ball and nothing happens thereafter.


I desperately need to access emails so has anyone get any suggestions pleas - I am not very technical so any help would be appreciated.


Steve

Jul 21, 2011 4:59 AM in response to Aintree9

Steve,

I had the exact same thing happen to me. What I did was:

1) Quit Mail

2) Right click on the finder icon in the dock

3) Choose go to folder

4) Type in ~/Library

5) Open the Mail folder

6) Delete everything that has the word "Envelope Index" in front of it. (Depending on how far the upgrade process went through you might have to click on the folder "V2" before you do this step)

7) After you have deleted these files, re-open Mail and it should work.


Hope this works for you too.


Mark

Lion ate ALL my Mail

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