Get an email
Returns an incoming email by ID.
Arguments
id
The ID of the incoming email to return.
Returns
createdAt
The email's creation date.
id
The email's unique identifier.
incomingEmailAttachments
The files attached to or embedded in the email.
incomingEmailContacts
The contacts linked to the email.
incomingEmailMatters
The links between the email and its matters, including unconfirmed suggestions.
incomingEmailUsers
The sender and recipient addresses on the email.
taggings
The tags applied to the email.
updatedAt
The date the email was last updated.
aiSummary
An AI-generated summary of the email.
archivedAt
The date the email was archived. Returns null if the email is active.
archivedByUser
The user who archived the email.
htmlBody
The email's HTML body, with scripts and other unsafe markup removed.
incomingEmailAttachmentsCount
The number of files attached to the email.
incomingEmailContactsCount
The number of contacts linked to the email.
rawFrom
The sender addresses as they appear in the From header.
receivedAt
The date and time the email was received.
stateEnum
Whether the email has been assigned to a matter.
Allowed values:
subject
The email's original subject line.
textBody
The email’s plain-text body.
title
The email's title. Defaults to the subject and can be edited.
unlinkedEmails
The email addresses on the email that are not linked to any contact.