I've tried multiple things including removing ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.pli st without success.
I have two IMAP accounts I use with email. I removed both and then added one back. I then went to compose a new email, started typing the name of a recipient and once again, it just spins for a loooong time.
I bring up Activity Monitor which shows Mail as "Not responding". I have plenty of free memory (3GB free plus .5 GB inactive) and plenty of free disk space (35 GB). The CPU is sitting at 85% idle.
So, none of the usual system contention issues.
Even brute force methods don't seem to work. I did the following:
$ rm -fr ~/Library/Containers/com.apple.mail
$ rm -fr ~/Library/Mail
I then started Mail again, added my iCloud account and went to compose an email. As soon as I start typing an email address, it spins for minutes!
If only I could go back to Lion easily! Sigh!
One suggestion I saw:
involved removing ~/Library/Application Support/AddressBook/MailRecents-v4.abcdmr
I removed the file, quit Mail and started it again. It rebuilt a new file but the problems still remain.
I have no idea whether anyone at Apple reads these threads? I hope so ....
There are obvviously multiple problems at hand here. Wrt to spinning when trying to autocomplete, I ran fs_usage as root on the Mail process. I see a lot of fcntl() (SETLK) system calls and a lot of reads for files under:
I then tried to bring up Contacts and see similar issues. It just sits there and spins until I eventuall get an error. See attached screenshot.
I have doubts, but I just went to the Disk Utility, clicked on "Verify Disk Permissions" and then clicked "Repair Disk Permissions." I can't believe it was just a permissions issue, but this actually seemed to fix the problem. I have been doing everything in my power to recreate the email spinning issue, even upon opening the email, I don't have the issue. I am cautiously optimistic this was somehow enough to fix the issue...
Mail is insanely slow for me too. Deleting a message takes 2-5 seconds and I am unable to compose anything. In an attempt to compose an email yesterday Mail repeatedly crashed when autosaving (I think?), I would type 2 words and it would crash, over, and over, and over, again. Hopefully I spammed apple with enough crash reports they'll actually do something.
I honestly have been pretty disappointed with the new mail app - it's way better than the one pre Lion, but it's still pretty subpar compared to other alternatives. Performance wise, it just isn't what I've come to expect from Apple.
Hope you guys can fix the problems!
Finally - I have a fix. It was related to address book problems.
The solution is highlighted here:
*** Be warned though - make sure you already have contacts up in iCloud before doing this:
1. Bring up System Preferences, go to iCloud and uncheck "Contacts"
2. You need to remove the folder /Users/<your_name>/Library/Application Support/AddressBook
If you have issues removing, quit Mail and Contacts
If you don't have contacts in iCloud, try renaming the folder
3. Reboot the machine
4. Bring up System Preferences, go to iCloud and now check "Contacts"
Now when you bring up Contacts, it should sync with iCloud, Mail and Messages will work fine.