Set Email Webhook
set_email_webhookSet or remove the inbound webhook URL for a mailbox. Incoming emails are signed, durable, and retried up to three times. A non-secret HTTPS URL may be configured here; never request or pass Authorization or X-API-Key values through chat/MCP—operators use the CLI environment-variable options. Set the URL to null to remove. API: PUT /api/emails/{address}/webhook or DELETE /api/emails/{address}/webhook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Mailbox slug | |
| domain | Yes | Mailbox domain | |
| headers | No | Optional auth headers for trusted non-model clients. Never request or pass values through model context. Only Authorization and X-API-Key are accepted; send {} to clear them. | |
| webhook_url | Yes | HTTPS webhook URL, or null to remove |