get_email_raw
Retrieve the raw RFC-822 bytes of an inbound email, base64-encoded, for cryptographic verification such as DKIM checks or zk-email proofs. Ensures bit-identical copy of the original.
Instructions
Get the raw RFC-822 bytes of an inbound email message, base64-encoded. The decoded bytes are bit-identical to the DKIM-signed original — no parsing, normalization, or CRLF cleanup. Use this for cryptographic verification (DKIM checks, zk-email proofs). Inbound messages only; outbound returns 404. For display/threading, use get_email instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | Target mailbox by slug or id; omit only when the project has exactly one mailbox. | |
| message_id | Yes | The message ID to retrieve raw bytes for (must be an inbound message) | |
| project_id | Yes | The project ID |