Ubuntu – Disable “Google Mail all mail” folders in Evolution

evolution

My gmail account is properly set up and shows a list of folders, Inbox, Drafts, etc. But it has an additional folder all [Google Mail] and in it I can see All Mail, Spam, etc. I want to disable it and disable the subscription to it so that it doesn't appear in the interface at all.

alt text

Best Answer

You can disable certain IMAP folders in GMail, including the All Mail folder, if you enable the Google Labs "Advanced IMAP Controls". From webmail:

  1. Go to Settings > Labs and set "Advanced IMAP Controls" to "Enable"
  2. Once advanced IMAP controls are enabled, you can go to Settings > Labels and uncheck the "Show in IMAP" box next to the folders you want to get rid of (All Mail, Spam, etc.).
  3. Go back to Evolution and refresh the account, and the folders you unchecked will be gone.

Be warned that you lose functionality if you disable some of those folders, though. If you disable the spam folder, for example, then you can't train GMail's spam filter from Evolution, and disabling the "Trash" folder keeps you from being able to ever delete anything.

Related Question