How to hide [Gmail] folder in Mozilla Thunderbird using IMAP

Problem

This is how my account was shown after I configured Mozilla Thunderbird for Gmail using IMAP protocol.

Mozilla has published Thunderbird and Gmail set-up guide which shows the same [Gmail] folder on screenshots.

Mozilla recommends using Flat Folder Tree add-on to show all the sub-folders of the [Gmail] IMAP’s folder at the same level than your other folders.

However the solution I discovered is much simpler and does not require any add-ons. I am surprised this is not mentioned in the official guide.

Solution

Here is what you need to do:

  1. Right click on the account in the folder pane and select Settings.
  2. In the Account Settings window select Server Settings and click the Advanced button.

  3. In the Advanced Account Settings window change IMAP server directory to [Gmail] and click OK.

  4. Restart Mozilla Thunderbird.

After restarting Thunderbird all folders are shown in a single-level list.

Known Limitations

With this solution you will not be able to see your custom folders (labels) anymore. The workaround is to add [Gmail]/ in front of the label’s name.

Afterword

After using it for a while I ended up not hiding [Gmail] folder. I found it convenient that folders that I don’t use as often (Sent Mail, All Mail, Spam) can be collapsed, reducing vertical height of the account in the folder pane.

Recommended For You

Online Courses

Comments

  1. you have to uncheck “show only subscribed folders” in “advanced account settings”,
    otherwise the folder [Gmail] is recreated when you restart thunderbird

    (of course I have custom folder names (labels) as well..)

    1. Patrick, I couldn’t replicate that. With the latest Thunderbird v.52.2.1 it doesn’t recreate [Gmail], even if “Show only subscribed folders” checked.

      After using it for a while I ended up not hiding [Gmail] folder. I found it convenient that folders that I don’t use as often (Sent Mail, All Mail, Spam) can be collapsed, reducing vertical height of the account in the folder pane.

      1. I also have to latest version (52.2.1) and after dealing some hours with it,
        I couldn’t find a solution besides the one I posted, and I tried many things,
        “all mail” is removed/disabled though from gmail settings, since I don’t use it,
        while, I check “sent mail” and spam folders from time to time

  2. I have a bunch of custom labels that are not under the [Gmail] folder, unfortunately using this solution only shows items under that folder. The suggested add-on, while needing a hack to work in the latest Thunderbird versions, will break out the Gmail folder while also showing those custom labels.

Leave a Reply

You may use simple HTML to add links or lists to your comment. Also use <pre><code class="language-*">...</code></pre> to mark up code snippets. We support language-js, language-markup and language-css for comments.
(Optional)