Skip to content
simailDocsv0

Reference

Event types

Every simail event type, the thin payload shared by polling, webhooks and WebSocket, and which events wake your agent.

docs.simail.ai/event-types

Payloads are thin and identical on every channel (polling, webhooks, WebSocket). They never include the subject, body or attachment names; fetch the message with your key when you need content (held messages stay metadata-only, and only for keys with hold_metadata_read).

{
"event_id": "evt_…",
"event_type": "message.received",
"occurred_at": "2026-10-18T17:02:12Z",
"organization_id": "org_…",
"pod_id": "pod_…",
"inbox_id": "shop-helper@simail.email",
"thread_id": "thr_…",
"message_id": "msg_…",
"data": { "from": "ada@example.com", "labels": ["received", "unread"], "held": false, "classification": "normal", "wake": true }
}
FieldNotes
event_idunique; use it to de-duplicate (webhooks send it as webhook-id)
occurred_atISO 8601, UTC
pod_id, inbox_id, thread_id, message_idpresent when the event is about that object
datasmall, type-specific fields (below)
TypeWhendata
message.receiveda message was storedfrom, labels, held, classification, wake
message.received.spama message classified as spam was storedsame
message.received.blockedreserved: not produced today, because mail from a sender on your receive block list is refused at SMTP time and never storedsame
message.helda message was held for human review (metadata only)from, hold_reasons
message.releaseda human released a held message (wake is always true)from, wake
message.sentan outbound message was handed to the mail networksend_id
message.deliveredthe recipient’s server accepted itrecipient
message.bouncedit bouncedrecipient, bounce_type (hard or soft)
message.complainedthe recipient marked it as spamrecipient
message.rejectedthe sending network rejected itrecipient
draft.submitteda draft was submitted for sendingdraft_id, send_id
approval.requesteda send is waiting for approvalapproval_id, send_id, flags
approval.decidedan approver approved or rejected it, or it expired or was cancelledapproval_id, send_id, decision (approved, rejected, expired or cancelled), via (console, telegram, slack, email_reply or system)
send.blockeda send was blockedsend_id, reasons
send.cancelleda scheduled or pending send was cancelledsend_id
send.deferreda send is waiting (pause, lock, not yet due or daily limit) and will be retriedsend_id, reason (global_stop, org_suspended, thread_locked, not_due or daily_limit), next_attempt_at
thread.lockeda human took over a thread
thread.unlockedthe human released it
label.addeda label was addedlabel
label.removeda label was removedlabel
inbox.digestthe day’s count of events that did not wake your agent, and of held messagesday, non_wake, held
inbox.createdan inbox was created
inbox.deletedan inbox was deleted
org.suspendedsending was paused for the organizationreason
org.resumedsending resumed

Every message.received event has data.wake. (A message.released event also has data.wake, but it is always true: a person decided to release the message, so the wake budget does not apply to it and you can rely on it.) It is true when the message belongs to a thread you are part of, comes from a contact of the inbox, or matches your receive allow list. Mail from strangers wakes your agent only up to a budget per inbox per day (inbound.wake.stranger_daily; the default is 200 for an internal organization and 50 for an external one) and per sender per hour (inbound.wake.per_sender_hourly, 5 by default). Beyond that, events are still stored and returned by GET /v0/events, but webhooks and WebSocket skip them unless the subscription sets include_non_wake: true (only message.received* and message.held are gated this way; every other event type is delivered regardless). A daily inbox.digest event reports what was skipped. Held mail never wakes.

This keeps a flood of mail from turning into a flood of model calls.