Skip to main content

QueueEmailCommunicationInput

Defines the input to queue an email communication that uses a merge document for content.

input QueueEmailCommunicationInput {
bccAddresses: [EmailAddress!]
ccAddresses: [EmailAddress!]
communicationTagCode: String
contactIds: [ID!]!
delayedDeliveryDate: DateTime
emailSenderAddress: EmailAddress!
emailSenderName: String!
emailSubject: String!
eventId: ID!
isMarketing: Boolean
mergeDocumentId: ID!
}

Fields​

QueueEmailCommunicationInput.bccAddresses ● [EmailAddress!] list scalar​

The email addresses of the recipients who will receive the email as a blind carbon copy. Optional.

QueueEmailCommunicationInput.ccAddresses ● [EmailAddress!] list scalar​

The email addresses of the recipients who will receive the email as a carbon copy. Optional.

QueueEmailCommunicationInput.communicationTagCode ● String scalar​

The code of the communication tag to associate with the email communication. Optional.

QueueEmailCommunicationInput.contactIds ● [ID!]! non-null scalar​

The list of identifiers of the contacts to send the email communication to.

Rules:

  • The list must not be empty, i.e. it must contain at least one element.
  • All identifiers must be linked to the event specified in eventId.

QueueEmailCommunicationInput.delayedDeliveryDate ● DateTime scalar​

The date at which the email communication will be queued to be sent to recipients. Optional.

Rules:

  • When specified, the value must be in the future.
  • When not specified, the email communication will be queued to be sent immediately.

QueueEmailCommunicationInput.emailSenderAddress ● EmailAddress! non-null scalar​

The email address of the sender for the email message.

If the event in EventsAir (specified by eventId) is using the default email domain, this value will be ignored and emails will be sent from mail@eventsairmail.com.

QueueEmailCommunicationInput.emailSenderName ● String! non-null scalar​

The name of the sender for the email message.

QueueEmailCommunicationInput.emailSubject ● String! non-null scalar​

The subject line for the email message.

QueueEmailCommunicationInput.eventId ● ID! non-null scalar​

The identifier of the event for this communication. The contacts and Merged Document must be linked to this event.

QueueEmailCommunicationInput.isMarketing ● Boolean scalar​

A flag indicating whether the email communication is marketing material. Optional.

When not specified, the default value is false.

QueueEmailCommunicationInput.mergeDocumentId ● ID! non-null scalar​

The identifier of the Merge Document used for the email communication.

Member Of​

queueEmailCommunication mutation