mail search completely broken in Catalina

I am no longer able to search.

1) if I search something all it does is show the numerical number of matches below the search bar - nothing changes in the actual email list

2) if I select the sender (right click) same result - nothing shows up except the numerical number of results which does not help


I tried to rebuild my mailbox but this does nothing.


Any help would be appreciated.

Posted on Oct 7, 2019 3:42 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 10, 2019 2:56 AM

I went to system preferences, internet accounts and switched off my Gmail, leaving an exchange and imap account active. I turned my computer off and back on and search worked perfectly fine, I then re-added my Gmail account and it all seems to be working. I'd guess there's something in the gmail indexing settings that isn't playing well with catalina's new spotlight mail search integration.

Similar questions

161 replies

Oct 9, 2019 3:16 AM in response to miner2008

I'm having the same issue.

I tried rebuilding each mailbox, removing the Envelope Index files (in ~/Library/Mail/MailData), reindexing the volume with Spotlight, erasing the entire Mail folder, and finally disabling/enabling Spotlight.

Nothing worked.

Mail search is still dead in the water, and smart mailboxes and the "Flagged" folder are not responding.

Spotlight doesn't display any Mail results either.


The full reindexing with Spotlight took only a few minutes (it's a brand new laptop with not too many files). I assume this is normal, but is there a delay before it takes effect?


Thanks in advance

Oct 10, 2019 1:57 PM in response to Lev Osherovich

Saw this in the log:


And xattr fails miserably for me:

MacBook-Pro-2:Library xxxxx$ sudo xattr -rd com.apple.quarantine /Users/xxxxx/Library/Mail

Traceback (most recent call last):

File "/usr/bin/xattr", line 13, in <module>

load_entry_point('xattr==0.6.4', 'console_scripts', 'xattr')()

File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/xattr/tool.py", line 258, in main

doSinglePathChange(filename,attr_name,attr_value,read,write,delete,recursive)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/xattr/tool.py", line 183, in doSinglePathChange

listdir = os.listdir(filename)

OSError: [Errno 1] Operation not permitted: '/Users/xxxxx/Library/Mail'


Oct 14, 2019 6:21 AM in response to JamesX77

I tried to turn off and on, to reboot indexing via terminal, deactivate account. None of that worked.

Please help us how can we can fix the problem of searching in the mailbox.


I don't use gmail. I am using IMAP server mail. My mails are in the inbox however I am not able to search.


When are you going to support this treat Apple? Clearly there is lot of users that are raging!!!

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.

mail search completely broken in Catalina

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