get_email_raw
Retrieve the base64-encoded raw RFC-822 bytes of an inbound email for cryptographic verification, such as DKIM checks and zk-email proofs.
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 |