Summary

  • RFC 5322 §3.6.4 admits the weakness in its own first sentence: "Though listed as optional in the table in section 3.6, every message SHOULD have a 'Message-ID:' field. Furthermore, reply messages SHOULD have 'In-Reply-To:' and 'References:' fields as appropriate."
  • Those three fields carry the entire structure of a conversation. The message identifier is "a limited version of the addr-spec construct enclosed in the angle bracket characters", and References and In-Reply-To each carry "one or more unique message identifiers".
  • Nothing in the standard obliges a sender to include any of them, and nothing verifies that an identifier is genuine, so a thread is a courtesy that archives rebuild from whatever arrives.

A conversation that exists only if three fields do

A mailbox shows messages as a tree: this reply belongs under that message, which belongs under an earlier one. None of that structure travels as structure. It travels as strings that the receiving software parses and trusts.

The design is minimal and, once seen, obvious: each message names itself, and each reply names its parent and its ancestors. Everything else — indentation, collapse arrows, "3 replies" badges — is derived.

The identifier in angle brackets

The message identifier looks like an email address inside brackets, and the resemblance has caused forty years of trouble. It is not an address and need not be reachable; it is a token that should be globally unique, and RFC 5322 recommends putting a domain on the right of the at-sign so that uniqueness has something to lean on.

When two messages claim the same identifier, the archive has to choose which one is real. When a message has no identifier at all, a reply to it has nothing to point at.

Optional, but please

The word in the standard is SHOULD, and RFC 2119 defines that as a recommendation with room for valid exceptions. That is the correct strength for a field a client may be unable to generate, and it is also why threading is unreliable in the field.

Weak wording has a second effect. It tells implementers that a missing Message-ID is not an error, so the receiving side must have a fallback, and the fallback is usually the subject line.

What an archive does when the field is missing

Subject-line threading is the fallback everyone has seen. Group messages whose subject matches after removing prefixes, sort by date, and draw a tree that looks like a conversation whether or not it was one.

It produces a plausible view of a mailing list and a wrong one often enough to matter: two unrelated discussions with the same title merge, a reply that changed the subject leaves its thread, and a sender who rewrites identifiers silently rewrites history.

Why the standard stays this way

A stronger rule would require every client to mint, store and preserve identifiers, and would require every gateway to preserve them across format conversions. That is a real cost imposed on software that may be a bridge between two worlds, so the standard settles for asking.

The result is a system where the structure of a conversation is optional metadata, and where every archive, client and researcher rebuilds that structure from the field that survived.