Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Thunderbird and gmail aren't exactly the best of friends. Gmail's labels mean that Thunderbird often downloads multiple copies of a single mail. Anything tagged in gmail will appear in a folder related to that tag, the "all mail" folder, and possibly the "inbox" and "sent mail" folders too. Thus a mail with multiple tags could potentially be stored more than four times in a local Thunderbird cache. This can make searching difficult, and is obviously wasteful of disk space.

The best solution I have come up with is as follows. Operate a zero inbox policy (i.e. use the inbox for processing live mail only and archive everything else) which eliminates an extra copy in the inbox. Secondly, configure Thunderbird not to sync the "Sent Mail" folder - this is a bit of a pain, since I actually find it quite useful to be able to look through just the mails I've sent, but a search can duplicate this functionality. In this way, most of the duplicates are removed, and only mail with tags is stored locally more than once.

Ideally, however, I'd only like one copy of each mail to be stored locally. I am surprised Thunderbird doesn't store mail by some sort of hashing algorithm to prevent precisely this problem - but it wouldn't be compatible with the way the folders are mirrored in a local directory structure, I suppose.

Can anyone think of a better way to get Thunderbird to cache a Google mail account locally efficiently.

share|improve this question
2  
This is not at all a problem between Thunderbird and gmail. It's a problem between IMAP and gmail. IMAP has no concept of tags and it has no concept of the same message existing in multiple folders. Google has no way of communicating to Thunderbird (or any other IMAP client) the fact that two messages in two folders are in fact the same message. There are only two ways around that: use a different protocol than IMAP that supports this, or use an IMAP protocol extension that supports this (if there existed one). –  Celada Jun 4 '13 at 1:10
    
Please could you explain whay you call "zero inbox policy" I mean how are your settings in Thunderbird? –  sebelk Mar 11 at 16:58

4 Answers 4

For the record, IMAP does support tags (they're called keywords and implemented as flags), and Mozilla Thunderbird and SeaMonkey use IMAP tags.

See this discussion from 2006 with Mark Crispin.

share|improve this answer

Celada is correct -- IMAP is the problem and not Thunderbird. It doesn't support gmail's added features like tags.

What you can do is set the "tag" folders in your Thunderbird client to only download the headers instead of the full message. That way when you search it won't have the opportunity of searching through the body of those duplicate emails. Hardly a great solution, but at least a mini solution to the specific problem you are seeing.

This post has some more helpful suggestions: http://superuser.com/a/48602/128630

I think this question should just be merged with that one actually.

share|improve this answer
    
Given that the linked to question is primarily about tags and this one is about storage, I don't think it is a duplicate, let alone an exact duplicate. –  Mark Booth Jun 4 '13 at 8:59
    
I agree - the two questions are only tangentially related and merging would be inappropriate in this case. –  Christi Jun 4 '13 at 9:02

No thunderbird is the problem. Other clients adadpt to this. Look at how Sparrow handles gmail labels or Postbox - both do a nice job while still using the imap protocol. Thunderbird has failed to accomodate the labels system which is why I don't use it.

share|improve this answer

For support of Gmail labels in Thunderbird install the development version of the Gmail Buttons Add-on.

NOTE: You must download the installer from the Development Channel at the bottom of the Add-on web page and install it via Tools>Add-ons>Wrench menu>Install Add-on From File... after downloading!

The regular installation will not provide working Gmail labels on top of any mail message.

Also note that this will not provide unified handling of Thunderbird labels and Gmail labels. Also, Gmail labels won't show up in the Tag column of your message list. But having labels on top of any email message is indeed a nice thing! -- Attached labels can be removed (through an x next to the label, as in Gmail), and labels are added by moving them into one of the IMAP folders (I've not found an attach label-only functionality yet, hmm). Neat!

P.S.: Unfortunately, with today's update to version 31.0 this extension has become incompatible with Thunderbird.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.