Search This Blog

Tuesday, August 9, 2011

Understanding threading in Thunderbird

This was originally posted at: https://github.com/protz/GMail-Conversation-View/wiki/What-is-threading

An email is made of headers followed by the message body. Headers contain metadata about the message: who sent it, to who, when the message was sent, what the subject is, etc. etc.. The message body is, well, the message body. To see the headers, select a message in your message list, and in the menus, hit View > Message source. You will see the raw contents of the message. Everything before the first blank line is the message source is headers. The rest is the message body. We'll mainly talk about headers here.

Default behavior in Thunderbird 3

About message ids

When an email is sent, it is assigned a unique message id. This message id is stored in the Message-Id: header.

When Alice sends a message to Bob, Alice's message is assigned a message id, say, for the sake of example, "AliceMsg1". Now when Bob replies to Alice's message, Bob's message is also assigned a message id, say, "BobMsg1". If we leave the situation "as is", when Bob's reply arrives in Alice's mailbox, Alice's MUA (Mail User Agent, i.e. the program she uses to read and send email) has no way to figure out that Bob's reply actually relates to Alice's original email.

To alleviate this problem, Bob's MUA adds an additional header called Reply-To:, whose value is "AliceMsg1". This header tells which message Bob is replying to, which allows Alice's MUA to figure out that "AliceMsg1" and "BobMsg1" relate together. There is another header that serves the same purpose, but that can hold more than one value, called the References: header.

Thunderbird 3, by default, will analyze these headers and thread related messages together. Make sure you hit View > Sort by > Threaded, and Thunderbird will thread related messages for you.

By default, Thunderbird will NOT analyze the subjects to determine threading.

Extra threading

In case two messages in Alice's inbox refer to message id "SomeMsg1", and the message which has this id no longer exists in Alice's inbox, Thunderbird will thread the two messages together anyway, because they refer to a common ancestor.

Why does threading fail?

Some badly behaved MUAs will fail to set the correct References: or Reply-To: headers. This is bad attitude, because the recipient's MUA will have no information to thread the resulting messages together. If Thunderbird Conversations fails to thread messages together, ask the other participants in the conversation to use a modern MUA!

Hidden threading preferences

Using the subject to figure out threading

Thunderbird can be configured to use the email's subjects to figure out threading. This is potentially dangerous, because it might thread together messages that aren't related. If person A sends a message with subject Hello, and another person sends a message with subject Re: Hello, the two will be threaded together always.

To enable this behavior, change the hidden pref mail.strict_threading from true to false.

More aggressive threading

Thunderbird can thread together emails which share a common subject, without requiring the Re: part in the subject.

To enable this behavior, change the hidden pref mail.thread_without_re from false to true.


The following are impossible:

  • manually marking which messages belong to a common thread,
  • fixing the Reply-To: of a message which was sent to you,
  • basically anything that implies modifying messages you've already received.


Labels

problems (8) windows 10 (7) Windows 7 (6) thunderbird (5) iPhone (3) Excel (2) MacOS (2) calendar (2) chrome (2) lightning (2) problem (2) tips (2) Apple on windows (1) Bluetooth (1) Costco (1) Disk Incentory X (1) Excel tips (1) GrandPerspective (1) MS Office (1) Mac (1) MacMini (1) Magic trackpad (1) Microsoft Compatibility Telemetry (1) N900 (1) Netgear (1) Office 2007 (1) OneNote (1) TWS (1) ThunderBrowse (1) Timezone (1) Trello on Thunderbird (1) Ventura (1) WNDR4500 (1) Web (1) WebPG (1) Window Maximize (1) Windows XP (1) adobe (1) associations (1) auto-complete (1) autocomplete (1) cell color (1) changes (1) conditional format (1) consolidation (1) day of the week (1) disabled (1) dish (1) dish network (1) disk (1) embedded document (1) excell (1) extension (1) file utilities (1) finger (1) fingerprint (1) firefox (1) folder consolidation (1) font (1) font size (1) forgot password (1) google sheets (1) high cpu usage (1) i7-TWS (1) iOS 10 (1) iPhone 5 (1) iPhone device (1) issue (1) itunes (1) japanese (1) java (1) keyboard (1) language (1) lock screen (1) log in problems (1) login problems (1) lower bill (1) mac os (1) magic mouse (1) mail (1) maximize (1) media server (1) mouse drifting (1) mouse problems (1) pdf (1) picture management (1) pictures (1) pivot table (1) portege z30-a (1) reading japanese (1) recovery (1) reduce (1) reference same cell (1) rename device (1) rikai (1) search (1) security (1) snipping (1) snipping tool (1) spotlight (1) telemetry (1) time (1) todo (1) toshiba (1) treemaps (1) unique values (1) update (1) utilities (1) weekday format (1) word (1) worksheets (1)