Create Mail Webhook
mail_webhooks_createCreate a webhook for a mailbox to send notifications to a URL when specified events occur.
Instructions
Create a webhook for a mailbox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mailbox_id": "<mailbox_id>",
"url": "<url>",
"event": "<event>"
},
"name": "mail_webhooks_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Webhook URL | |
| event | Yes | Event type to trigger | |
| mailbox_id | Yes | Mailbox ID |