mail_export_email
Download the raw RFC 5322 .eml source of an email, returning complete headers and MIME parts. Use this tool when you need the full message for archival or analysis, as it provides all headers unlike the header-only fetch.
Instructions
Download the raw RFC 5322 .eml source of an email.
Returns the full raw message including all headers and MIME parts. Use this when you need all headers — mail_get_email only fetches headers by name.
Args: email_id: The JMAP email ID. blob_id: Optional blobId; fetched automatically if not provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | ||
| blob_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |