You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Mail quits repeatedly

Mail has suddenly started to quit over and over almost as soon as I open it. I tried shutting down and restarting but it continues to quit. when I open Mail, it appears just for a moment and then quits. what should I do?

MacBook Pro 13″, macOS 10.12

Posted on Oct 8, 2020 9:41 PM

Reply
14 replies

Oct 8, 2020 10:25 PM in response to garrick930

I suggest starting by using the Mail Connection Doctor to see if there is an issue with either your Internet connection or with any of your email accounts: Use Connection Doctor in Mail on Mac - Apple Support


If that does not uncover any issues, then try the following steps:

  1. Temporarily disconnect your Mac from the network. (Note: We don't want the Mail app to try to download messages for each of your accounts at this point.)
  2. Launch the Mail app, and then, go to Mail > Preferences > Accounts > Account Information
  3. For each of your email accounts, disable the Enable this account option.
  4. Close the Accounts pane, and then, close the Mail app.
  5. Relaunch the Mail app, and then, reconnect your Mac to the network.
  6. Return to Mail > Preferences > Accounts > Account Information, and then, re-enable one of your email accounts. Allow it to download any messages. It should be completed doing so when you see the Checking for Mail... disappear in the lower-left corner of the Mail app's window.
  7. If successful, re-enable the next account and continue doing so one-at-a-time when successful.



Oct 9, 2020 12:26 PM in response to garrick930

This issue may also be attributed to only one of your email accounts. Of course, I'm assuming that you have more than one configured in the Mail app. If so, I would suggest repeating John's procedure, but this time after the Mail app opens, temporarily disable each of your email accounts. Then shutdown, and then, restart the Mail app. If it does not crash with none of the accounts enable is the first step.


Now, enable one of the accounts. It doesn't matter which one. Shutdown & restart the Mail app. Try accessing the Inbox for that account. If it crashes, you narrowed down which account would have the problematic email(s). If it doesn't crash, leave that account enabled, and then, enable another one. As before recycle the app and try opening the Inbox until you find the account that is the culprit. Let us know your results.

Oct 9, 2020 10:53 AM in response to garrick930

Mail may be opening to a message that is malformed, causing the Mail app to crash.


The solution may be very simple: Quit the Mail app if it is running. Then, press and hold a Shift key while launching Mail again.


That causes Mail to open in windowed mode (not full screen) with no message selected. If Mail opens and stays open, you may be able to find the message causing it to crash.


If that does not work, read If you can't open Mail on your Mac - Apple Support.


So as not to disregard his instructions, try Tesserax's suggestions also.


I'm running OSSierra 10.12.2


Update it: Keep your Mac up to date - Apple Support.

Oct 9, 2020 10:21 AM in response to garrick930

Just to be sure, did you disconnect your Mac from the Internet BEFORE launching the Mail app? If so, and it still crashes, what version of macOS is your Mac running?


The reason I'm asking is the next steps to try will depend on the version ... and that is to delete the "envelope" index.


The basic steps to do so are:

  1. Shut down the Mail app, if it is running.
  2. Run the Terminal app.
  3. Enter: cd ~/Library/Mail/Vx/MailData (where x = 4 for Sierra, 5 for High Sierra, 6 for Mojave, & 7 for Catalina)
  4. Enter: rm -rf Envelope\ Index*
  5. Enter: rm -rf ExternalUpdates.storedata*
  6. Restart the Mail app.

Oct 9, 2020 9:29 AM in response to Tesserax

Thank you for the swift reply. When I try to launch mail, as you suggest, it appears for only a split second and then crashes, or vanishes back to the icon. There isn't time to click on mail>preferences>accounts>account information. I tried, but in the time it takes to move my arrow from the mail icon in the dock to the mail info bar at the top of the screen, ka-poof! - the mail page has disappeared. Any further suggestions? Thanks, Garrick930

Oct 9, 2020 10:49 AM in response to Tesserax

Hello Tesserax,

I definitely disconnected from the internet before launching the mail app.

I'm running OSSierra 10.12.2

I will quit the app (so the little black dot next to it in the dock is not there.)

And then I will run the Terminal app (I don't think I've ever run that before, but I probably can find it) and follow the steps you suggest precisely.

I'll let you know what happens.

thanks again,


Garrick930

Oct 9, 2020 11:34 AM in response to Tesserax

I carefully went through the terminal procedures, oh yes, ya have to be careful to put spaces where the spaces are between things (that's not so easy to see in the message) and when I did that (and did not get the "no such file or directory" message, then I restarted mail and it still crashed instantly.

Next, I used John Galt's suggestion, and yes, Mail opened and then I went to the different mailboxes and deleted all the erased, the junk, erased the trash, and even marked all messages as read, in my inbox and...the sent mail opens alright (!) the flagged mail opens alright (!) the drafts open alright (!) but when I click on my inbox, it crashes at once. I think you're right there must be a malformed message in there causing the problem. but how do I locate that one and remove it? ps. You guys are fabulous helping me like this.


Oct 9, 2020 11:52 AM in response to garrick930

When I finally got the typing right, here's what it looked like in Terminal. Was I supposed to do something special after doing this? Other than just trying to open Mail and keep it open?



Garricks-MacBook-Pro:MailData garrickbeck$ cd ~/Library/Mail/V4/MailData


Garricks-MacBook-Pro:MailData garrickbeck$ rm -rf Envelope\Index*


Garricks-MacBook-Pro:MailData garrickbeck$ rm -rf ExternalUpdates.storedata*


Garricks-MacBook-Pro:MailData garrickbeck$ 



Mail quits repeatedly

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