participants object[]
The two or three mailboxes in the conversation, in send-rotation order: message i is sent by participants[i % participants.length]. Everyone else on a message is a To or Cc recipient, so at depth=1 a third participant is only ever copied, never a sender.
example: [{"name":"Ada Lovelace","address":"ada.lovelace@northwind.test"},{"name":"Grace Hopper","address":"grace.hopper@example.net"},{"name":"Marcus Bennett","address":"marcus.bennett@meridian.test"}]
messages object[]
The chain, oldest first. Each entry has index, messageId, inReplyTo, references, from, to, cc, subject, date, headers, structure and bodyPreview. Thread messages never carry attachment parts.
example: [{"index":0,"messageId":"<20260721T120311.9c1d4a7f0b23@northwind.test>","inReplyTo":null,"references":[],"from":{"name":"Ada Lovelace","address":"ada.lovelace@northwind.test"},"to":[{"name":"Grace Hopper","address":"grace.hopper@example.net"}],"cc":[{"name":"Marcus Bennett","address":"marcus.bennett@meridian.test"}],"subject":"Q3 roadmap review: agenda and open questions","date":"2026-07-21T12:03:11Z","headers":{"Date":"Tue, 21 Jul 2026 14:03:11 +0200","From":"\"Ada Lovelace\" <ada.lovelace@northwind.test>","To":"\"Grace Hopper\" <grace.hopper@example.net>","Cc":"\"Marcus Bennett\" <marcus.bennett@meridian.test>","Subject":"Q3 roadmap review: agenda and open questions","Message-ID":"<20260721T120311.9c1d4a7f0b23@northwind.test>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable"},"structure":{"contentType":"text/plain","charset":"utf-8","contentTransferEncoding":"quoted-printable","sizeBytes":412},"bodyPreview":"Hi Grace, Thanks for the quick turnaround on the last batch - the totals line…"},{"index":1,"messageId":"<20260721T224408.3e81b6cf90a4@example.net>","inReplyTo":"<20260721T120311.9c1d4a7f0b23@northwind.test>","references":["<20260721T120311.9c1d4a7f0b23@northwind.test>"],"from":{"name":"Grace Hopper","address":"grace.hopper@example.net"},"to":[{"name":"Ada Lovelace","address":"ada.lovelace@northwind.test"}],"cc":[{"name":"Marcus Bennett","address":"marcus.bennett@meridian.test"}],"subject":"Re: Q3 roadmap review: agenda and open questions","date":"2026-07-21T22:44:08Z","headers":{"Date":"Wed, 22 Jul 2026 07:44:08 +0900","From":"\"Grace Hopper\" <grace.hopper@example.net>","To":"\"Ada Lovelace\" <ada.lovelace@northwind.test>","Cc":"\"Marcus Bennett\" <marcus.bennett@meridian.test>","Subject":"Re: Q3 roadmap review: agenda and open questions","Message-ID":"<20260721T224408.3e81b6cf90a4@example.net>","In-Reply-To":"<20260721T120311.9c1d4a7f0b23@northwind.test>","References":"<20260721T120311.9c1d4a7f0b23@northwind.test>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable"},"structure":{"contentType":"text/plain","charset":"utf-8","contentTransferEncoding":"quoted-printable","sizeBytes":338},"bodyPreview":"Hi Ada, Looks right. The only thing I would add is a note about the retry budge…"}]