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

# Get Email by ID

> Retrieve a Resend email and its latest delivery event.

**Get Email by ID** fetches the stored message details for a Resend email.

## Input

| Input                   | Type           | Required | Description                                           |
| ----------------------- | -------------- | -------- | ----------------------------------------------------- |
| **Third-party account** | Resend account | Yes      | The account that sent the email.                      |
| **Email ID**            | String         | Yes      | A non-empty ID returned by a send or schedule action. |

## Outputs

| Output                                        | Type             | Description                                                   |
| --------------------------------------------- | ---------------- | ------------------------------------------------------------- |
| **Email ID**                                  | String           | The email identifier.                                         |
| **From**                                      | String           | The sender.                                                   |
| **Recipients**, **CC**, **BCC**, **Reply To** | Lists of strings | Message recipients.                                           |
| **Subject**                                   | String           | The subject line.                                             |
| **HTML** / **Plain Text**                     | String           | Message content; either can be empty if it was not provided.  |
| **Created At**                                | Date             | When the email was created.                                   |
| **Last Event**                                | String           | The latest Resend event, such as sent, delivered, or bounced. |

<Note>
  **Last Event** is a status value, not a timestamp. Use it to branch on the
  latest known delivery state.
</Note>
