> 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.

# getEmailThread

GraphQL QUERY

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

## GraphQL Schema

```graphql
query ExampleQuery($threadId: String!, $includeAttachments: Boolean!, $includeAttachmentContent: Boolean, $includeInlineContent: Boolean, $maxInlineSize: Int, $interactionTypes: [InteractionType!], $limit: Int, $offset: Int) {
  getEmailThread(threadId: $threadId, includeAttachments: $includeAttachments, includeAttachmentContent: $includeAttachmentContent, includeInlineContent: $includeInlineContent, maxInlineSize: $maxInlineSize, interactionTypes: $interactionTypes, limit: $limit, offset: $offset) {
    count
    inboundCount
    outboundCount
    emails {
      id
      tenantId
      eventTime
      created
      changed
      createdBy
      changedBy
      activeState
      account
      folder
    }
  }
}
```

## Variables

```json
{
  "threadId": "example",
  "includeAttachments": true,
  "includeAttachmentContent": true,
  "includeInlineContent": true,
  "maxInlineSize": null,
  "interactionTypes": null,
  "limit": null,
  "offset": null
}
```