Create a key to copy examples filled with your team.
Get email content
Text, HTML, headers, raw MIME, and plus-address threads.
Stored mail and the JSON webhook share the same payload. Plus-addressing fills thread_id from the tag. agent+thread@ matches inbox agent@ and sets thread_id=thread.
Payload
| Field | Description |
|---|---|
id |
Inbound message id. |
inbox_id |
Inbox that matched. |
to |
Recipient address, including any plus tag. |
from |
From address. |
subject |
Subject. |
text |
Text body. |
html |
HTML body. |
thread_id |
Plus tag, or In-Reply-To / References / Message-ID. |
in_reply_to |
In-Reply-To header. |
headers |
Selected headers. |
envelope |
mail_from, rcpt_to, plus_tag. |
attachments |
filename, content_type, size. content_base64 on show and on the JSON webhook. |
expires_at |
Purge time. Default retention is 168 hours. |
The API also returns drain_status. Show adds raw and attachment content_base64. The dashboard inbox shows text. It does not render HTML.