beel_get_email_delivery
Fetches a recorded email's body (HTML and text), attachments, and invoice data from batch emails. Returns body only if provider retains the message; otherwise body fields are null.
Instructions
Returns one recorded email with its message body (HTML and plain text), its attachments and, for batch emails, the invoices it carried.
The body is fetched live and is only available while the message has a
provider message id and the provider still retains it; otherwise
body_available is false and html_body / text_body are null. An
email that never left — QUEUED or REJECTED — has no body for that
reason.
Endpoint: GET /v1/accounts/{account_id}/emails/{email_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email delivery id | |
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential — decides which account the operation acts on; a `403` is returned when you do not reach it, the same response an account that does not exist gets. |