My experience with tagging IMAP messages in Thunderbird is that those tags will be saved on the server (from what I read they as stored as IMAP keywords), so they are synced, but if you access the same messages with another Thunderbird profile (e.g. from a different computer), you have to re-create the tags in Thunderbird first, and then only will it be able to show those tags on the messages. In other words, you have to tell TB that "those tags exist" or it will not be able to see them.

Two questions:

1/ In the case of a lost Thunderbird profile, which used to contain a lot of tags, is it possible to see all the tags that have been saved to the server, in order to retrieve them? (Either on a per-message basis, or globally)

2/ In the case where the TB profile still exists, is there a way to extract the tags that have been defined in that profile, and then import them to another profile? Or sync them between profiles without having to manually recreate them all?


I'm still very interested in an answer to my first question, but regarding my second question, I found out that the tags are actually saved in the "prefs.js" file, which is in the Thunderbird profile folder. Example for the tag "Important":

user_pref("mailnews.tags.$label1.color", "#FF0000");
user_pref("mailnews.tags.$label1.tag", "Important");

(User-defined tags are also found in that file; not just predefined tags.)

So saving this file is probably a good way to easily make a backup of the tags that have been defined in Thunderbird. As for restoring those tags in another profile, I have not tested it, but maybe simply copying those lines in the file (when TB is not running) would do the trick.

protected by Community Nov 11 '17 at 12:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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