A reader complained that he can’t find a way to merge threads in Mozilla Thunderbird. He wasn’t satisfied with the solution I provided a few days ago.
As he explained, he needs a more in depth solution:
My usual problem is more that a discussion thread, e.g. in mailing lists is interrupted because someone didn’t properly respond to the previous mail and therefore the in-response-to (?) header of the answer is missing.
As a result the thread is disconnected in Thunderbird’s threaded view as the response starts as a new thread root. Fixing THAT is what I search for since years, but was not able to find yet.
What you suggest composes a single new mail that contains the whole threads text in a proper quoted form – that’s right. But I don’t want to full quote something, I don’t even want to write an additional mail. I want to use the Thunderbird’s View/Sort/Group by Thread feature to properly group the mails of a broken thread properly. For that your post unfortunately is not a solution.
With your proposal I can join whatever I want in any arbitrary order and nesting – but I want to say “this one mail in fact was a response to that other one”, linking the thread together again; quite a different (and as far as I know missing) feature.
Peter is correct. The “merge threads” feature is missing from Mozilla Thunderbird, even though it has been requested on numerous occasions since the year 2000.
So I looked into this problem and here is what I found.
While Peter was trying to work with the
Instead, you need to study the
Message-ID header gets generated every time you send an email. But the
References header gets generated only if you are replying to a previous message.
So, logically, if someone sends out a new email, even though it’s referring to the topic discussed in a previous thread, Thunderbird has no way of identifying this standalone message as part of a thread.
As a test, I turned on the threaded view in Mozilla Thunderbird.
Then, I sent a few messages back and forth between two of my email accounts.
And, finally, I broke the thread by sending a standalone message without using the Reply button but keeping the same Subject line.
Peter’s question is, in effect, how to include that one message in the thread where it clearly belongs.
What to do? What to do?
Merge Threads with Header Tools Lite
Header Tools Lite is an add-on that enables you to edit some of the email headers in Mozilla Thunderbird:
…or even to directly mess around in the source of the email message:
For the purposes of our problem, it is enough to work with the
To have this option enabled, you need to install the Header Tools Lite add-on. Then right-click on a message and select
Install the Add-on
To install the add-on, press
Alternatively, you can click on the
Header Tools Lite in the search box, and click on the magnifying glass icon.
As it happens, Header Tools Lite is not on the shortlist. Not to worry, just click on the
This will open up the Thunderbird Add-ons web page inside the email client. Header Tools Lite will be the first result. Just click on the
The add-on will be installed. You will need to restart Thunderbird for the changes to take effect.
The System of References
Looking at the header details of each message in my test in the order they were sent out, reveals a system of references.
Clearly, the Message-ID of the message that is being replied to is copied to the References header. And every further reply keeps the previous content of the References header and adds the Message-ID of the last message that’s being replied to the end of the References header.
So, as the conversation grows, the References header includes all the Message-ID headers in the exact order as they were sent out. That’s why Mozilla Thunderbird is able to place all the messages that are being mentioned in the References header into one logical thread.
When someone breaks this chain of references, Thunderbird (or any other email client for that matter) has no way of knowing that a new standalone message belongs to a thread. This is exactly what happened in my test, too.
The only way to re-include a standalone message into an existing thread is to correct that message’s References header. In other words, you need to look up and copy-paste all the relevant Message-ID headers into the standalone message’s References header.
In my test case I had to add the following message IDs to the References header of the standalone message:
<56D75477.firstname.lastname@example.org> <56D75484.email@example.com> <56D75496.firstname.lastname@example.org> <56D75546.email@example.com>
There were four preceding messages, so there had to be four Message-IDs added.
Once I added the correct references:
…the message was magically placed into the thread at the correct location, where it belonged.
Unfortunately, Header Tools Lite can play tricks with the email folders in Mozilla Thunderbird. Namely, emails may appear to be missing — so an entire folder may look empty.
What you need to do, should this happen to you after installing Header Tools Lite is to:
right-clickon the seemingly blank folder’s name in the left pane
- select the
Propertiesitem in the drop-down menu
- click on the
Repair Folderbutton in the General Information tab of the newly opened window
Once you repair the folder or folders, the add-on doesn’t cause any more troubles.
It would be nice to have the option of selecting the Message-IDs of messages from a list or highlighting all messages belonging to a thread and the add-on would just merge them all with the click of a button.
So far, I haven’t found such an add-on, but I will keep looking and report back here about my findings.
If you know about other cool add-ons that solve the merge threads problem in Mozilla Thunderbird in a better or more efficient way than Header Tools Lite, please, let us know in the comments section below.
Liked this post?
Subscribe to our newsletter to receive early notification of new posts and deals: