Learn how to fix Mac OS X 10.11 El Capitan and macOS 10.12 Sierra Gmail bug in mail app. If you have sync problems with Gmail on the native mail app in OS X 10.11 El Capitan or and macOS 10.12 Sierra, de-activating and re-activating ‘Show in IMAP’ for ‘All Mail’ should fix the El Capitan Gmail bug and Sierra Gmail bug. Since the launch of Mac OS X 10.9 Mavericks both Google’s Gmail and exchange accounts are not working correctly in the native mail app client in OS X 10.9 Mavericks and OS X 10.10 Yosemite. You can fix the El Capitan Gmail bug for Google’s Gmail IMAP accounts following this work around. It is the same as for OS X 10.9 Mavericks, OS X 10.10 Yosemite and and macOS 10.12 Sierra.
The trick is to deactivate ‘Show in IMAP‘ for ‘All Mail‘, delete every single Gmail account in the native mail app in El Capitan, reactivate it and set up your Gmail accounts again:
- Open the native mail app client in Mac OS X 10.11 El Capitan or macOS 10.12 Sierra.
- Log in your Gmail account in the web browser.
- Go to the settings wheel (right corner below your account image) and click on ‘Settings‘.
- Click on ‘Labels’, deactivate ‘Show in IMAP‘ for ‘All Mail‘
and go to your inbox (change in settings will be saved).
- Close the native mail app client in Mac OS X 10.11 El Capitan.
- Go to ‘Preferences‘ in El Capitan, choose ‘Internet accounts‘ and delete all Gmail accounts. Important: Be sure that you had got an IMAP account set up. In the other case all your POP3 mail will be deleted.
- Go to your Gmail account in the web browser again, go to the settings wheel (right corner below your account image) and click on ‘Settings‘.
- Click on ‘Labels’, activate ‘Show in IMAP‘ for ‘All Mail‘ again and go to your inbox (change in settings will be saved).
- Open the native mail app client in Mac OS X 10.11 El Capitan. Note: No Gmail accounts should be shown!
- Go to ‘Preferences‘ in El Capitan, choose ‘Internet accounts‘ and add all Gmail accounts you deleted before. Last, but not least: You have just to wait some minutes, hours or days depending on the size of your Gmail mailboxes until the Gmail accounts work correctly again. In my cases it takes several hours for my main mail account and some ten minutes for my smaller accounts.
- Instead of deactivate showing ‘All Mail‘ in IMAP do the following:
- In Gmail settings, select ‘Forwarding and POP/IMAP‘.
- Under ‘IMAP access’/’Folder Size Limits‘, select ‘Limit IMAP folders to contain no more than this many messages (1,000)‘.
Now, Mail will stop trying to download your entire Gmail archive, and you should have a pretty functional desktop mail client again.
Note: One of the problems with deactivating the ‘All Mail‘ IMAP folder is that it messes up BlackBerry email.
- The problem with turning that All Mail label off is that you then no longer have access to your Archive All Mail folder on your Mac. You can only get to it on the gmail web interface. So if you do a local search of a message that is in your archive, you won’t find it. The other problem with El Capitan mail (and may have started in Mavericks as well) is that now when you delete a gmail message in Mail with the delete key, it goes to Trash, and while it is kept in Trash for 30 days, it is not archived and is gone after 30 days. No matter how long you set your gmail account preferences in Mail to retain Trash, Google will still delete it in 30 days. So if you do want to archive a message while getting it out of your In Box, you need to not do it via the Delete key, but instead execute the Archive Message command via the menu, or press the shortcut – Ctrl-Cmd-A“
De-activating and re-activating ‘Show in IMAP’ for ‘All Mail’ should fix the El Capitan Gmail bug and Sierra Gmail bug in native mail client on Mac OS X 10.11 El Capitan or macOS 10.12 Sierra. Have you already face the El Capitan / Sierra Gmail bug? Let us know and comment!
Stay tuned! 😉