Skip to main content
OpenMail sends webhooks when inbound email is received, and when the reputation engine suspends or reactivates one of your inboxes or pods. Emails that are blocked by sender rules or filtered out by allowlist mode do not trigger events.

Events

inbox.* and pod.* are reputation lifecycle events: they let you react when one of your end-users is cut off (for example, pause that agent) without your whole account being affected. We handle suspension automatically; these events tell you when it happens. They are delivered to your HTTP webhook only (not over WebSockets).

Use cases

  • Agent routing - Use inbox_id to route inbound email to the right user or container.
  • Real-time replies - Trigger your agent to process and reply within seconds of receipt.
  • Multi-tenant - Each inbox maps to an agent; inbox_id in the payload tells you which one.

Payload structure

Field descriptions

Reputation lifecycle payload

inbox.suspended, inbox.reactivated, pod.suspended, and pod.reactivated share the structure below. They carry a reason instead of a message. For pod.* events, inbox_id and inbox_address are null.

Reason codes

A suspended inbox or pod is blocked from sending until reactivated. The reputation engine never auto-recovers a suspension — reactivation is an explicit action, which is when the *.reactivated event fires.

Headers

Verification

HMAC signature verification.

Setup

Full implementation guide.