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

# Email

GraphQL object

Reference: https://docs.revvue.ai/api-reference/inbox/types/objects/email

## Fields

- `id`
- `tenantId`
- `eventTime`
- `created`
- `changed`
- `createdBy`
- `changedBy`
- `activeState`
- `account`
- `folder`
- `bcc`
- `body`
- `bodyPreview`
- `bodyContentType`
- `cc`
- `sender`
- `received`
- `replyTo`
- `sent`
- `subject`
- `to`
- `type`
- `header`
- `attachments`
- `hasAttachments`
- `hasInlineAttachments`
- `isRead`
- `isDraft`
- `isDeleted`
- `internetMessageId`
- `parentFolderId`
- `provider`
- `providerObjectId`
- `providerThreadId`
- `integrationProfileId`
- `replyToMessageId`
- `categories`
- `inferenceClassification`
- `importance`
- `flagStatus`
- `actorType`
- `actorUniqueId`
- `inReplyTo`
- `references`
- `isHistory`
- `threadId`
- `objectId`
- `messageId` — Create a safe hash-based identifier for database lookups
- `attachmentCount`
- `inlineAttachmentCount`
- `emailPrettyPrint`

## Definition

```graphql
type Email {
  id: UUID
  tenantId: String
  eventTime: DateTime
  created: DateTime
  changed: DateTime
  createdBy: String
  changedBy: String
  activeState: ActiveState
  account: String
  folder: MailFoldersIdentifier
  bcc: [RecipientModel!]
  body: String
  bodyPreview: String
  bodyContentType: BodyContentType
  cc: [RecipientModel!]
  sender: RecipientModel
  received: DateTime
  replyTo: [RecipientModel!]
  sent: DateTime
  subject: String
  to: [RecipientModel!]
  type: InteractionType
  header: JSON
  attachments: [InboxEmailAttachment!]
  hasAttachments: Boolean
  hasInlineAttachments: Boolean
  isRead: Boolean
  isDraft: Boolean
  isDeleted: Boolean
  internetMessageId: String
  parentFolderId: String
  provider: Provider
  providerObjectId: String
  providerThreadId: String
  integrationProfileId: UUID
  replyToMessageId: String
  categories: [String!]
  inferenceClassification: InferenceClassification
  importance: Importance
  flagStatus: FlagStatus
  actorType: ActorType
  actorUniqueId: String
  inReplyTo: String
  references: [String!]
  isHistory: Boolean
  threadId: UUID
  objectId: UUID
  messageId: UUID
  attachmentCount: Int
  inlineAttachmentCount: Int
  emailPrettyPrint: String
}
```