OBJECT

EmailConversationItem

One email of a conversation, as listed in the conversation of an email.

link GraphQL Schema definition

  • type EmailConversationItem {
  • # Id of the email.
  • id: UUID!
  • # True when the caller can read the content of this email; otherwise `bodySummary`
  • # is empty.
  • isContentAvailable: Boolean!
  • # Plain-text summary of the email body.
  • bodySummary: String
  • # Time the email was created.
  • created: DateTime
  • # Time the email was sent; empty for drafts and scheduled emails not yet sent.
  • dateSent: DateTime
  • # Time a scheduled email is queued to be sent; empty for emails sent immediately.
  • sendAt: DateTime
  • # True when at least one file is attached to the email.
  • hasAnyAttachment: Boolean!
  • # True when the email is an unsent draft.
  • isDraft: Boolean!
  • # For a draft reply, the id of the email it replies to; the draft is listed right
  • # after that email.
  • draftParentEmailId: UUID
  • # True when the caller marked the email as a favorite.
  • isFavorite: Boolean!
  • # True when another user created this email and the given mailbox is not a company
  • # mailbox the caller can use. Always false without `mailboxId`.
  • isDifferentActor: Boolean!
  • # Sender address as it appeared on the email.
  • sender: String
  • # Id of the user matched as the sender.
  • senderClientId: UUID
  • # Account matched as the sender; empty when there is none.
  • senderAccount: EmailConversationSenderAccount
  • # User matched as the sender; empty when there is none.
  • senderClient: EmailConversationSenderClient
  • # Contact matched as the sender; empty when there is none.
  • senderContact: EmailConversationSenderContact
  • }