mail-threading 0.1.3

JWZ email threading (RFC 5256). Reconstruct message threads from References/In-Reply-To headers, with subject fallback for broken clients.
Documentation
{
  "name": "in-reply-to-only-parent-missing",
  "description": "In-Reply-To creates a phantom parent when References is absent and the parent is missing.",
  "spec": {
    "source": "JWZ",
    "url": "https://www.jwz.org/doc/threading.html",
    "behavior": "missing In-Reply-To parents are phantom containers and are pruned by default"
  },
  "input": [
    {
      "id": "<irt-missing-reply@example>",
      "message_id": "<irt-missing-reply@example>",
      "in_reply_to": "<irt-missing-root@example>",
      "references": [],
      "subject": "Re: Missing",
      "date": "2026-05-15T09:05:00Z"
    }
  ],
  "expected": {
    "threads": [
      {
        "root": "<irt-missing-reply@example>",
        "messages": [
          "<irt-missing-reply@example>"
        ]
      }
    ]
  }
}