OBJECT

EmailMailboxRelationEntity

Table for representing relation between email and its mailbox - mailbox_id is FK to cp.clients_settings_eav.id

link GraphQL Schema definition

  • type EmailMailboxRelationEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Email that belongs to the mailbox.
  • email: EmailEntity
  • # Field whose values are strictly defined with an enumeration of values.
  • direction: EmailDirectionEnum
  • # Creation time.
  • emailCreated: DateTime
  • # Id of the email that belongs to the mailbox.
  • emailId: ID!
  • # Denormalized flag indicating that the related email has been deleted from this
  • # mailbox; such relations are hidden from the inbox view.
  • emailIsDeleted: Boolean
  • # Error code for the email in this mailbox; 0 means the email was processed
  • # without error.
  • errorCode: Int
  • # Field whose values are strictly defined with an enumeration of values.
  • eventTypes: EmailEventTypeFlagEnum
  • # Whether the email is scheduled to be sent at a future time and has not been sent
  • # yet.
  • isScheduled: Boolean
  • # Id of the mailbox (connected email account) the email belongs to.
  • mailboxId: ID!
  • # Time when the email was sent, or its scheduled send time if it has not been sent
  • # yet.
  • sentOrScheduledAt: DateTime
  • # Id of the email thread, or the id of the email itself when it does not belong to
  • # a thread.
  • threadOrId: ID
  • # Field whose values are strictly defined with an enumeration of values.
  • type: EmailTypeEnum
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }