OBJECT

EmailLabelEntity

Personal label a user applies to email conversations to organize their mailbox; labels can be nested.

link GraphQL Schema definition

  • type EmailLabelEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • 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
  • # Client who created this label; labels are personal and not shared with
  • # teammates.
  • owner: ClientEntity
  • # Parent label this one is nested under, or empty for a top-level label.
  • parentEmailLabel: EmailLabelEntity
  • # Color the label is displayed with, as a packed RGB integer.
  • color: Int!
  • # Name of the entity and its default text representation.
  • name: String!
  • # Id of the client who created this label.
  • ownerId: ID!
  • # Id of the parent label this one is nested under, or empty for a top-level label.
  • parentEmailLabelId: ID
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }