Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriesemailMailboxRelation

entities.emailMailboxRelation

Read email mailbox relation records with the emailMailboxRelation repository, and change them with the email mailbox relation mutations. Same records as the REST EmailMailboxRelations entity.

Queries

Fields of entities { emailMailboxRelation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
EmailMailboxRelationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[EmailMailboxRelationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: EmailMailboxRelationFilterInput, orderBy: [EmailMailboxRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[EmailMailboxRelationEntity!]!
QUERYgetByCriteria(filter: EmailMailboxRelationFilterInput, orderBy: [EmailMailboxRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter as a cursor-paginated connection.
[EmailMailboxRelationEntity!]!
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

EmailMailboxRelationEntity object 20 fields: isDeleteProtected, id, isDeleted, …

Link between an email and a mailbox the email belongs to.

FieldTypeDescription
isDeleteProtectedBoolean!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.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
emailEmailEntityEmail that belongs to the mailbox.
directionEmailDirectionEnumDirection of the email relative to this mailbox: outgoing for the mailbox that sent it, incoming for a mailbox that received it. The same email can therefore be outgoing in one mailbox and incoming in another. Defaults to the email direction when not set.
emailCreatedDateTimeCreation time.
emailIdID!Id of the email that belongs to the mailbox.
emailIsDeletedBooleanTrue when the related email has been deleted from this mailbox; such links are hidden from the inbox view.
errorCodeIntError code for the email in this mailbox; 0 means the email was processed without error.
eventTypesEmailEventTypeFlagEnumTracking events recorded so far for the related email (opens, clicks, replies, bounces, unsubscribes); several can be combined. Read-only; kept in sync with the email's EmailEvent records.
isDraftBooleanCopy of the related email's draft flag; true when the email is an unsent draft, which shows it in the mailbox Drafts.
isScheduledBooleanWhether the email is scheduled to be sent at a future time and has not been sent yet.
labelIdsJSONStringIds of the labels applied to this conversation in this mailbox. Read-only copy of the EmailLabelRelation records; manage labels via that entity rather than writing here.
mailboxIdID!Id of the mailbox (connected email account) the email belongs to.
sentOrScheduledAtDateTimeTime when the email was sent, or its scheduled send time if it has not been sent yet.
threadOrIdIDId of the email thread, or the id of the email itself when it does not belong to a thread.
typeEmailTypeEnumCopy of the related email's type: an individual email or part of a mass email. Read-only; kept in sync with the email.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
EmailEventTypeFlagEnumFilterInput input eq: [EmailEventTypeFlagEnum!], NOT: EmailEventTypeFlagEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[EmailEventTypeFlagEnum!]Matches any of the listed values.
NOTEmailEventTypeFlagEnumFilterInputMatches values that do not meet this condition.
EmailMailboxRelationFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for EmailMailboxRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[EmailMailboxRelationFilterInput!]Matches records that meet at least one of the listed filters.
AND[EmailMailboxRelationFilterInput!]Matches records that meet all of the listed filters.
NOTEmailMailboxRelationFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
directionEmailDirectionEnumFilterInputDirection of the email relative to this mailbox: outgoing for the mailbox that sent it, incoming for a mailbox that received it. The same email can therefore be outgoing in one mailbox and incoming in another. Defaults to the email direction when not set.
emailCreatedEntityFilterDateTimeFieldCreation time.
emailIdEntityFilterStringFieldId of the email that belongs to the mailbox.
emailIsDeletedBooleanTrue when the related email has been deleted from this mailbox; such links are hidden from the inbox view.
errorCodeEntityFilterNumberFieldError code for the email in this mailbox; 0 means the email was processed without error.
eventTypesEmailEventTypeFlagEnumFilterInputTracking events recorded so far for the related email (opens, clicks, replies, bounces, unsubscribes); several can be combined. Read-only; kept in sync with the email's EmailEvent records.
isDraftBooleanCopy of the related email's draft flag; true when the email is an unsent draft, which shows it in the mailbox Drafts.
isScheduledBooleanWhether the email is scheduled to be sent at a future time and has not been sent yet.
mailboxIdEntityFilterStringFieldId of the mailbox (connected email account) the email belongs to.
sentOrScheduledAtEntityFilterDateTimeFieldTime when the email was sent, or its scheduled send time if it has not been sent yet.
threadOrIdEntityFilterStringFieldId of the email thread, or the id of the email itself when it does not belong to a thread.
typeEmailTypeEnumFilterInputCopy of the related email's type: an individual email or part of a mass email. Read-only; kept in sync with the email.
emailEmailFilterInputEmail that belongs to the mailbox. Matches records where a related record meets these conditions.
EmailMailboxRelationOrderByInput input Asc or Desc per field

Sorting of EmailMailboxRelation records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
email[EmailOrderByNestedInput!]Email that belongs to the mailbox. Sorts by fields of the related record, listed in order of priority.
directionOrderByEnumDirection of the email relative to this mailbox: outgoing for the mailbox that sent it, incoming for a mailbox that received it. The same email can therefore be outgoing in one mailbox and incoming in another. Defaults to the email direction when not set.
emailCreatedOrderByEnumCreation time.
emailIdOrderByEnumId of the email that belongs to the mailbox.
errorCodeOrderByEnumError code for the email in this mailbox; 0 means the email was processed without error.
isDraftOrderByEnumCopy of the related email's draft flag; true when the email is an unsent draft, which shows it in the mailbox Drafts.
isScheduledOrderByEnumWhether the email is scheduled to be sent at a future time and has not been sent yet.
sentOrScheduledAtOrderByEnumTime when the email was sent, or its scheduled send time if it has not been sent yet.
typeOrderByEnumCopy of the related email's type: an individual email or part of a mass email. Read-only; kept in sync with the email.
EmailEventTypeFlagEnum enum Open, Click, Unsubscribe, Bounce, Reply, BounceSoft

Set of tracked events recorded for an email in a mailbox; several flags can be combined.

ValueDescription
OpenThe recipient opened the email.
ClickThe recipient clicked a link in the email.
UnsubscribeThe recipient unsubscribed through the email.
BounceThe email bounced permanently (hard bounce).
ReplyThe recipient replied to the email.
BounceSoftDelivery failed temporarily or was delayed (soft bounce).