Skip to main content
Nuntly emits webhook events for receiving activity so your application can react in real time. You subscribe to these events through the same webhook configuration used for sending events.

Available events

Event payloads

All receiving events follow the same envelope structure. The type field identifies the event, and the data field contains the event-specific payload.

message.received

Emitted when a new email is received and processed.

message.security.flagged

Emitted when a received message fails one or more security checks (SPF, DKIM, or spam). The message is stored and the thread is marked as spam. Virus-infected emails are rejected at the gateway and never reach this stage.

message.agent.triggered

Emitted when a message arrives at an inbox that has an AI agent assigned. This event is sent in addition to the message.received event.

message.sent

Emitted when a message is sent from an inbox (via send, reply, or forward).

Subscribe to receiving events

Add receiving events to your webhook configuration the same way you add sending events. You can subscribe through the dashboard or the SDK.
The signing secret is displayed only once. Store it securely. You need it to verify incoming webhook requests.

Handle receiving events

Use the same signature verification flow as sending events. See handle webhook events for the full implementation pattern. Here is a condensed example handling receiving events:

Learn more

Set up webhooks

Create and configure webhook endpoints

Handle webhook events

Implement signature verification and event handling

AI agent inboxes

Build automated processing with AI agents

Receiving overview

Understand the receiving pipeline