> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get received email

> Retrieve an inbound Resend email with content and headers.

`resend.getReceivedEmail({ emailId })` retrieves an inbound email. The normalized result includes `createdAt`, `messageId`, optional `receivedFor`, `replyTo`, address fields, headers, HTML and text content, and attachment metadata. `contentId` and `contentDisposition` can be `null` for ordinary attachments. When Resend provides the optional nullable `raw` object, its `downloadUrl` and `expiresAt` fields expose a temporary copy of the original message.
