Skip to main content

publishEmailSendEvent

Send pre-processed email directly through messaging system.

Publishes a ready-to-send email event containing all processed fields needed to send a single email immediately. Bypasses template processing and sends the email with provided content.

Possible errors:

  • PUBSUB_TOPIC_PUBLISH_FAILED_ERROR: Failed to publish the email send event to the message queue

AUTH: Role=[system]

publishEmailSendEvent(
input: EmailSendEventInput!
): PublishEmailEventResponse!

Arguments​

publishEmailSendEvent.input ● EmailSendEventInput! non-null input​

Complete email data ready for immediate sending.

Contains all processed email information including recipients, subject, content, and attachments that can be sent directly without template processing.

Type​

PublishEmailEventResponse object​

Response from email event publishing operations.

Indicates the success status of email event publication to the message queue and provides tracking information for monitoring and debugging email delivery workflows.