Skip to main content

EmailSendEventInput

Complete email data for direct sending without template processing.

Contains all processed email information including recipients, subject, content, and attachments that can be sent immediately without requiring template rendering or data enrichment.

input EmailSendEventInput {
subject: String!
content: String!
from: EmailSendContactInput!
to: [EmailSendContactInput!]!
cc: [EmailSendContactInput!]
bcc: [EmailSendContactInput!]
attachments: [Base64FileInput!]
campaignId: String
messageId: String
utmTags: String
variables: JSONObject
}

Fields

EmailSendEventInput.subject ● String! non-null scalar

Email subject line for the message.

The complete subject text that will appear in the recipient's email client, should be pre-processed and ready for delivery.

EmailSendEventInput.content ● String! non-null scalar

Complete email content ready for delivery.

The fully rendered email content including HTML markup, text, and any dynamic data that has already been processed and is ready for immediate sending.

EmailSendEventInput.from ● EmailSendContactInput! non-null input

Email sender contact information.

Complete sender details including email address and display name that will appear in the 'From' field of the email message.

EmailSendEventInput.to ● [EmailSendContactInput!]! non-null input

Primary email recipients.

List of contacts who will receive the email in their main inbox, visible to all recipients in the 'To' field.

EmailSendEventInput.cc ● [EmailSendContactInput!] list input

Carbon copy recipients.

List of contacts who will receive a copy of the email, visible to all recipients in the 'CC' field for transparency.

EmailSendEventInput.bcc ● [EmailSendContactInput!] list input

Blind carbon copy recipients.

List of contacts who will receive a copy of the email without being visible to other recipients, maintaining privacy.

EmailSendEventInput.attachments ● [Base64FileInput!] list input

File attachments for the email.

Base64-encoded files that will be attached to the email message, supporting various file types for comprehensive communication.

EmailSendEventInput.campaignId ● String scalar

Marketing campaign identifier for tracking.

Unique identifier linking this email to a specific marketing campaign for analytics and performance tracking purposes.

EmailSendEventInput.messageId ● String scalar

Unique message identifier for tracking.

Unique identifier for this specific email message, used for delivery tracking, analytics, and message correlation.

EmailSendEventInput.utmTags ● String scalar

UTM tracking parameters for analytics.

URL tracking parameters that will be appended to links in the email for campaign performance measurement and user behavior analysis.

EmailSendEventInput.variables ● JSONObject scalar

Variables that can be used in the email template

Member Of

publishEmailSendEvent mutation