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

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.