Subscribe to Email Sending events with Queues
Key Points
- six lifecycle email events
- per-domain queue subscriptions
- payload includes SMTP status
Summary
You can now subscribe to Email Sending events via Queues event subscriptions to receive outbound transactional email lifecycle events for a single sending domain (either a zone apex like example.com or a verified subdomain like send.example.com). Six event types are published: message.delivered, message.deferred, message.bounced, message.failed, message.rejected, and message.complained. Email Routing events are not published on this source.
Key Points
- Scope: subscriptions are per sending domain (zone apex or verified subdomain).
- Event types:
message.delivered,message.deferred,message.bounced,message.failed,message.rejected,message.complained. - Payload: includes message identifiers,
recipient,terminalflag,delivery.status, anddelivery.smtpStatusCodefor each event. - Use cases: track deliverability, react to bounces/complaints, drive suppression lists, and implement retry logic.
- Next steps: create a Queues event subscription scoped to your sending domain and consume events; see the Event subscriptions docs for full payload examples and types.
Practical tip
Treat events as authoritative for outbound lifecycle transitions and use the SMTP status and terminal flag to decide suppression vs retry workflows.