Get raw email
get_email_rawReturn a temporary download URL for an inbound email's original MIME source.
The URL expires after approximately five minutes and requires no authorization header.
Raw source is available only for inbound emails.
Returns ``url``, or an error for an unavailable email.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email_id": "<email_id>"
},
"name": "get_email_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Inbound email ID, from ``list_emails`` with direction ``inbound``. | |
| llm_model | No | Model ID of the calling agent. Optional. Recorded for analytics only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||