publishEmailEvent
Trigger email processing through event-driven architecture.
Publishes an email trigger event to the message queue containing abstract event data that will be processed by the template engine. The event will be enriched with template data and rendered before sending.
Possible errors:
- PUBSUB_TOPIC_PUBLISH_FAILED_ERROR: Failed to publish the email event to the message queue
AUTH: Role=[system]
publishEmailEvent(
input: EmailEventInput!
): PublishEmailEventResponse!
Arguments
publishEmailEvent.input
● EmailEventInput!
non-null input
Email event data for template processing.
Contains event information, recipient details, and template context that will be used to generate and send the email through the messaging pipeline.
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.