> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# getEmailById

GraphQL QUERY

Reference: https://docs.revvue.ai/api-reference/inbox/queries/get-email-by-id

## GraphQL Schema

```graphql
query ExampleQuery($emailId: UUID, $objectId: UUID, $providerObjectId: String, $includeAttachments: Boolean!) {
  getEmailById(emailId: $emailId, objectId: $objectId, providerObjectId: $providerObjectId, includeAttachments: $includeAttachments) {
    id
    tenantId
    eventTime
    created
    changed
    createdBy
    changedBy
    activeState
    account
    folder
  }
}
```

## Variables

```json
{
  "emailId": null,
  "objectId": null,
  "providerObjectId": null,
  "includeAttachments": false
}
```