How can I prevent Mac Mail from crashing when searching for certain words?

When I search for a word in mail, Mac Mail crashes. It's always the same word and you can search for something else and it's ok. Then it decides to crash on a different word. It's driving me nuts.

YES - I do have a large mailbox and NO I AM NOT GOING TO DOWNLOAD IT ALL AGAIN. That would take more than 2 months internet allowance, so please, suggestions which do NOT involve rebuilding the while mailbox would be appreciated. Thanks.


Its a macbook air M2 (2022) running Sonoma 14.0


[Re-Titled By Moderator]

MacBook Air, macOS 14.0

Posted on Oct 20, 2023 2:51 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 21, 2023 10:14 AM

Solution found for my email crash problem


Hi All - after multiple, multiple calls with Apple Support, I think they have finally solved the issue - at least for me. I am putting in the steps provided to me today below but please understand this is not in my normal wheelhouse and so hopefully does not cause any issues for others if trying. Alternately if you call Apple Support and explain the issue (email crashing when using certain travel related search terms) they hopefully can located this workaround in their system and work with you directly.


In short - what we did was Reindexing the Mail Folders. Following are the steps provided to me from the senior advisor I worked with.


Click on Finder in the Dock at bottom of your screen.

The menu bar at the top of the screen should now show 'Finder'

To the right of 'Finder' - click on 'Go' and look for 'Library' (if 'Library' is hidden - press/hold 'option' key)

Click on 'Library' and look for "Mail' Folder.

Click on 'Mail Folder' and look for a folder that starts with a "V" (mine was V10 but could be a different number)

Click on the "V" Folder and look for "Mail Data" Folder

Click on "Mail Data" Folder and look for any files/docs that start with the word "Envelope Index" (some might also have something else after that like -wal, etc)


If more than one file/doc that starts with "Envelope Index" then hold command key and click on all the files/docs that start with "Envelope Index" until all are highlighted.


Once all highlighted - right click on one and at top of the pop up that should say "New Folder with Selection (xx items) xx = the number of items you have highlighted. Click on that (New Folder...) and all of the files/docs will move into that new folder. Then - and you don't have to do this, but I did to make coming back in the future easer, you can name that new folder. (Mine was simply 'Envelope Files')


At this point, close out of finder.

Finally and this is the part that takes the longest - shut down and restart your Mac.

IMPORTANT - ONCE YOU DO SHUTDOWN AND RESTART, ALL OF YOUR EMAILS WILL FIRST HAVE TO RELOAD AND THEN WILL GO THROUGH INDEXING. THIS TOOK HOURS!


ALSO IMPORTANT - Again I cannot say for certain this will work for others, I just know it worked for me. If uncertain - truly best to call Apple Support/Care and see if they can work you through this procedure!!


Good luck.

96 replies

Nov 21, 2023 4:49 PM in response to SpaceMan

I have the same issue. Interestingly, it happens when I type in airline names: Delta, United, Jetstar (but not Southwest for some reason). It also happened when I typed in the airport code SLC or Salt (as in Salt Lake City). Maybe it's coincidence, but it only happens when I type in words related to airlines or travel. I couldn't find any other words that make it crash...

Dec 2, 2023 8:49 PM in response to RandHan54

I appreciate you posting this solution and I'm glad it worked for you. Unfortunately, it did not work for me. I am starting to explore other mail programs. There are quite a few that are well recommended. It's really a shame that the basic program from Apple has such a serious bug, and clearly, many people likely have this issue.

Dec 6, 2023 1:01 AM in response to RandHan54

So I'm not going mad! My trigger word is 'booking' that causes the app to crash even as I'm typing it. In the 'comments' field of the problem report I've told Apple that my search was for Booking.com confirmations and, coincidental or not, that organisation has had problems with a payments scam in recent months and apparently still ongoing. I'm not into conspiracy theories btw

Jan 7, 2024 8:47 AM in response to fairhsa2

Update to initial post, more words to add that cause a complete Mail crash and still most seem to have a travel-related theme:

hom(e)

bri(t)ish airways

hote(l)

check i(n)

checki(n)

boo(k)

confirmatio(n)

appointment(t)


These words crashed mail previously in Sonoma 14.1.1, but 14.1.2 cleared the problem with just these words and they no longer cause a crash:

Sou(t)hwest

Del(t)a

Uni(t)ed

Air(p)ort

Fli(g)ht

Itinerar(y)

Rout(e)

Ticke(t)

Apr 17, 2024 9:54 AM in response to fairhsa2

It is astounding that for a $2.6 trillion company, basic things like Mail are so absolutely terrible! I'm having the same issue, very frustrating...


Larger issue is general ability to search. The simple search bar is useless. 20 years ago, I was able to have search terms based on subject line, sender, message body, size, date range, etc in Outlook. Still can't do that in Mail.


I don't know if I am more angry at Apple for such a terrible product, or at myself for putting up with it.

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.

How can I prevent Mac Mail from crashing when searching for certain words?

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