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 app opens hundreds of old emails on startup -- how to fix?

I haven't used Mail as my default email application in years. Every time it opens automatically, it also opens hundreds and hundreds of old emails. It then freezes from the overload and I have to force quit.


I'd like to be able to use the app but I need to clear all those old emails (including hundreds of calendar alerts, apparently). How can I do this? I just upgraded to a brand new Macbook Pro running OS Monterey.

MacBook Pro 15″, OS X 10.10

Posted on Jan 17, 2022 9:08 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2022 5:39 AM

If it is functional, but slow, try cmd-opt-w.

That should close all windows. It will close the message viewer window, you can open that up from the Window menu.

Clearing the saved state should have stopped those from opening, too.


I don't know why it would open all of those windows.


The outbox.mbox folder would be in an account folder in your user Library/Mail/V9/ folder. (~/Library/Mail/V9)

The account folders have a unique id for name, so you have to just open each and see what is inside. If there is an Outbox.mbox, you could try deleting that. Once you do that, go up one folder and open MailData. Delete all of the Envelop Index files.

Open Mail.

Similar questions

10 replies
Question marked as Top-ranking reply

Jan 20, 2022 5:39 AM in response to zschaeffer

If it is functional, but slow, try cmd-opt-w.

That should close all windows. It will close the message viewer window, you can open that up from the Window menu.

Clearing the saved state should have stopped those from opening, too.


I don't know why it would open all of those windows.


The outbox.mbox folder would be in an account folder in your user Library/Mail/V9/ folder. (~/Library/Mail/V9)

The account folders have a unique id for name, so you have to just open each and see what is inside. If there is an Outbox.mbox, you could try deleting that. Once you do that, go up one folder and open MailData. Delete all of the Envelop Index files.

Open Mail.

Jan 17, 2022 11:38 AM in response to zschaeffer

Did you hold down the Option key and select Library from the Go menu in Finder?

The folder is actually an alias to a folder in Mail's container.

Try using Go to Folder (cmd-shift-g) and paste in this path:

~/Library/Containers/com.apple.mail/Data/Library/Saved\ Application\ State/com.apple.mail.savedState

That should open a window to that folder.

Jan 20, 2022 5:16 AM in response to Barney-15E

Thank you, that helped. Now that those are cleared, Mail opens all 716 emails that were in my Outbox and works so slowly I can't delete them from inside the app (it didn't know which server to use so they are all stored; trying to select the correct server only clears them one by one). Is there also a folder for outbox messages I can delete?

Mail app opens hundreds of old emails on startup -- how to fix?

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