Email events
We emit events as each recipient moves through delivery. A send to three addresses produces three independent streams, correlated by email_id and recipient_id. This page defines the email event types. See Webhooks for signatures, retries, ordering, and replay.
Every recipient starts at email.accepted, then email.processed. A broadcast recipient is its own message, so it gets its own email.accepted too, though only in the events API and the email log rather than as a webhook. From there the message is accepted by the receiving server (email.delivered), gets deferred and retried (email.deferred, which resolves to delivered or bounced), is refused by the receiving server (email.bounced), or never gets a delivery attempt at all (email.rejected). After a delivery the stream can continue with email.out_of_band_bounce, email.complained, email.opened, email.clicked, email.unsubscribed, and email.list_unsubscribed.
Each recipient ends in exactly one terminal status, delivered, bounced, complained, or rejected, returned as the per-recipient status from GET /v1/email/messages/{message_id}/recipients. Engagement events never change it: a recipient who opened is still delivered. A late bounce report does change it, because the receiving server is retracting an acceptance it already gave, so the recipient moves from delivered to bounced. The message as a whole has its own roll-up status and per-state counts on GET /v1/email/messages/{message_id}.
The event envelope
Events arrive as the three-field envelope every webhook uses: type, timestamp (when the event occurred, RFC 3339), and a type-specific data object.
{
"type": "email.delivered",
"timestamp": "2026-07-23T14:51:47.107Z",
"data": {
"email_id": "em_01ky7qc398fmxraqtxn604zeq9",
"recipient_id": "er_01ky7qc398fmwsc96nt6anrbqs",
"workspace_id": "ws_01ky7m21hjffh9s8kq76gyb1xf",
"recipient": "delivered@messagebird.dev",
"recipient_role": "to",
"tags": [{ "name": "category", "value": "welcome" }],
"metadata": { "order_id": "ord_123" },
"broadcast_id": null,
"brand_id": null
}
}Every recipient-level outbound event includes email_id, recipient_id, workspace_id, the recipient address, and its envelope recipient_role (to, cc, or bcc). Store a mapping from workspace and message ID to your own records when sending. tags and metadata carry send context when available. They are null when none was supplied, and on email.unsubscribed and email.list_unsubscribed from Bird unsubscribe links for individual sends. Broadcast unsubscribe events can also return null when their context is unavailable.
broadcast_id names the broadcast a send went out as part of and is null on a send with no broadcast behind it. An unsubscribe link from mail sent before we added the field names no broadcast, so an opt-out through such a link reports null whether or not a broadcast sent the mail. Treat null on email.unsubscribed and email.list_unsubscribed as inconclusive. broadcast_id reaches you on the webhook only: the events API below returns each event without it. Event types add fields described in the following sections.
Outbound email webhooks also include the optional brand_id. The message events API omits this field.
The same events are queryable after the fact from GET /v1/email/messages/{message_id}/events, where each one also has an id (ev_ prefix) and an occurred_at. Use it to backfill, replay, or reconcile against what your endpoint received. A few fields reach you only through that API rather than the webhook; the relevant event description identifies each one.
Lifecycle events
email.accepted
We have accepted the send and started preparing delivery. Fires once per requested recipient and is the first event in that stream. A broadcast recipient gets one too, because each recipient is its own message, but it is recorded rather than delivered: read it from the events API or the email log, not from your webhook endpoint. Payload: the identity base only.
email.processed
The message is built and queued for delivery to the recipient's mail server. Payload: the identity base only over the webhook; the events API adds mailbox_provider and mailbox_provider_region, the receiving mail system's classification (for example gmail, NA), present when it could be determined and null otherwise. Comparing this event's timestamp with email.accepted's gives you our own processing time on a single send. A broadcast has no such interval: its acceptance and its processing carry the same dispatch instant, so the two timestamps match rather than bracketing any processing, and the acceptance reaches you only through the events API, as occurred_at.
email.delivered
The receiving mail server accepted the message and took responsibility for it. This event does not establish inbox placement or reading. Inbox Insights provides sampled placement estimates; open and click events record tracking requests. Payload: the identity base only over the webhook; the events API adds sending_ip, the address the message was sent from, which matters when a deliverability problem tracks one IP, plus mailbox_provider and mailbox_provider_region.
email.deferred
A temporary failure: the receiving server asked us to try again later (full mailbox, greylisting, rate limiting). We retry automatically, and the recipient eventually resolves to email.delivered or email.bounced, so this event is informational rather than terminal, and a recipient can defer several times first. Payload: bounce_type, bounce_class, defer_reason (the reason the server gave), and sending_ip over the webhook; the events API adds mailbox_provider and mailbox_provider_region.
Failure events
email.bounced
A permanent failure at SMTP time: the receiving server refused the message, and the recipient's terminal status becomes bounced. Payload: bounce_type (see the classification table), bounce_class, bounce_code (the SMTP reply code, for example 550), bounce_description (the reason the server gave), and sending_ip over the webhook; the events API adds mailbox_provider and mailbox_provider_region. A hard bounce suppresses the address.
email.out_of_band_bounce
A late bounce: the receiving server accepted the message at SMTP time and then sent a bounce report afterwards. It has the same classification as email.bounced (bounce_type, bounce_class, bounce_code, bounce_description, sending_ip over the webhook; mailbox_provider and mailbox_provider_region from the events API). When the report classifies as a bounce (any class in the table), the server has retracted its earlier acceptance, so the recipient moves from delivered to bounced. Reports whose class is not in the table, such as auto-replies, are recorded on the timeline and leave the status alone. A hard out-of-band bounce also suppresses the address.
email.rejected
The recipient never reached the remote mail server, so no delivery was attempted. That is what separates a rejection from a bounce, where the receiving server is the one saying no. Payload: rejection_reason, also on the recipient record:
rejection_reason | Meaning |
|---|---|
recipient_suppressed | The recipient is blocked by the suppression list or by a stated preference, so delivery was never attempted |
transmission_failed | The message could not be transmitted for delivery |
generation_failure | The message could not be built for delivery, a template or content problem |
policy_rejection | Sending policy refused the message |
domain_unverified | The sending domain was not verified |
quota_exceeded | The organization's send quota was reached |
recipient_not_allowed | The recipient was not permitted for this send; sends on a shared onboarding domain reach only verified members of your workspace |
workspace_suspended | The workspace is suspended, so this mail was not sent and will not be sent after reactivation |
Bird adds rejection reasons over time, so a webhook or recipient record can carry one that is not in this table yet. Handle a reason you do not recognize as a rejection with an unlisted cause, and keep the value so you can look it up later.
The events API also adds mailbox_provider and mailbox_provider_region when the receiving mail system could be classified before the rejection.
email.complained
The recipient marked the message as spam and the mailbox provider reported it back through its feedback loop. Complaints arrive after delivery and set the terminal status to complained. Payload: feedback_type, the kind of report the provider sent, such as abuse or fraud, and null when the provider did not say, plus mailbox_provider and mailbox_provider_region from the events API. A complaint blocks marketing mail for its attributed Brand, or workspace-wide when reliable Brand attribution is unavailable. Keep your complaint rate low: providers throttle senders who collect reports.
Engagement events
email.opened
The tracking pixel in the message body loaded. Payload: ip_address and user_agent when known; the events API adds is_prefetched, country (ISO 3166-1 alpha-2, derived from the client IP), mailbox_provider, and mailbox_provider_region. Check is_prefetched before you count an open. It is true when an inbox privacy feature fetched the pixel automatically rather than a person opening the message, and counting those inflates your open rate. Open and click tracking covers the instrumentation.
email.clicked
The recipient clicked a tracked link. Payload: url (the link clicked), ip_address, and user_agent when known; the events API adds country, mailbox_provider, and mailbox_provider_region. Clicks are generally a stronger engagement signal than opens because privacy proxies can load tracking pixels automatically.
email.unsubscribed
The recipient used the unsubscribe link in the message body. Payload: the identity base only over the webhook; the events API adds mailbox_provider and mailbox_provider_region. Records an opt-out preference that blocks marketing mail. Unsubscribe links covers how the link gets into your mail.
email.list_unsubscribed
The recipient used the one-click unsubscribe button the mailbox provider renders in its own UI, driven by the message's List-Unsubscribe headers. Payload: the identity base only over the webhook (plus mailbox_provider and mailbox_provider_region from the events API); the mechanism is the event type itself, which is why it is separate from email.unsubscribed. Also records an opt-out preference that blocks marketing mail.
Message-level events
Two events describe the message as a whole rather than one recipient, so their data has email_id, workspace_id, brand_id, tags, and metadata but no recipient identity. Both belong to scheduled sending.
email.scheduled
We accepted a send with a scheduled_at in the future. Payload: the message-level base plus scheduled_at. When that time arrives, the per-recipient lifecycle starts at email.accepted.
email.canceled
A scheduled message was canceled before it went out, so it produces no recipient lifecycle events at all. Payload: the message-level base only.
Inbound and mailbox events
email.received covers incoming mail. It fires when we receive and parse an inbound message. Its payload includes the inbound_message_id, addressing, subject, and authentication verdicts. Setup, payload, and the fetch-back API are in Receiving email. A mailbox has its own email_mailbox.* family on top of that, covered in the mailboxes guide.
Bounce classification
bounce_class is the numeric bounce classification included on email.bounced, email.out_of_band_bounce, and email.deferred. It rolls up into the coarse bounce_type and keeps the fine-grained code, so you can still tell a full mailbox from a routing failure even though both report as soft:
bounce_class | bounce_type | Meaning |
|---|---|---|
1 | undetermined | The receiving server's response was ambiguous |
10, 30 | hard | Permanent failure: invalid address, or a domain that does not exist |
20 to 24, 40, 70, 100 | soft | Transient failure: full mailbox, server temporarily unavailable, DNS or routing trouble |
25 | admin | Administrative refusal: relaying denied, blocklisted domain |
50 to 54 | block | The receiving server refused the sending IP |
Any class outside this list maps to undetermined. Only hard bounces suppress the address; soft, block, admin, and undetermined do not, because the address may still be deliverable.
Auto-suppression
Hard bounces create workspace-wide suppressions. Spam complaints with reliable Brand attribution record protected email preferences for that Brand; complaints without reliable attribution create workspace-wide suppressions.
| Event | Result | What it blocks |
|---|---|---|
email.bounced or email.out_of_band_bounce with bounce_type: "hard" | Suppression with reason: hard_bounce | All categories across Brands |
email.complained with reliable Brand attribution | Preference with origin: complaint | Non-transactional mail from that Brand |
email.complained without reliable Brand attribution | Suppression with reason: complaint | Non-transactional mail across Brands |
email.complained remains the message-level complaint event. A Brand complaint that changes the effective preference to revoked also emits preference.revoked, carrying the preference_id and brand_id. Repeated complaints need not produce another preference transition. Fetch the preference for its current origin, status, and retained complaint_message_id.
Subscribe to preference.revoked, preference.granted, and preference.deleted when synchronizing recipient choices, even for a single-Brand workspace. Use them to refresh the current preference and its channel, handle, Brand, sender, and topic scope. Preference timestamps describe effective consent time, not change order; sorting them cannot reconstruct current status or coverage. Confirm deletions through reconciliation, retaining independent preferences and workspace suppressions.
A Brand-scoped complaint does not emit email_suppression.created. That event describes additions to the workspace suppression list, with suppression_id, email, reason, and workspace_id. Suppression removals have no customer webhook, so a mirror also needs periodic reconciliation of the complete paginated list. Existing workspace complaint suppressions retain their scope. Follow the migration guide's synchronization recipe, including retrying reads that fail or lag a change.
email.unsubscribed and email.list_unsubscribed also record preferences. Unsubscribe links explains their effect. Suppressions explains how to inspect complaint protection and record a newer individual opt-in.
Later sends to a suppressed address are rejected up front as email.rejected with rejection_reason: "recipient_suppressed", and never count against your deliverability.
Next steps
- Webhooks & events: endpoint setup, signature verification, retries, and replay
- Suppressions: how the suppression list works and how to manage it
- Unsubscribe links: wiring up the paths behind
email.unsubscribedandemail.list_unsubscribed - Testing & sandbox: sandbox sends emit real events through the normal path, which is the cheapest way to exercise your handler
- Webhooks done right: reliable delivery events: a video that creates a webhook and watches the events arrive
Related resources
Continue with the documentation, guides and examples for this topic.