register_webhook
Subscribe a URL to receive a POST every time mail lands at your inbox. Replaces polling with push. Body: {event:'mail.received', inbox, mail, ts}. Headers: X-Apumail-Signature: sha256= (HMAC over body with the returned secret). Up to 5 webhooks per inbox. Server retries 3x with backoff on 5xx/network errors; disables after 10 consecutive failures.
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": {
"address": "<address>",
"token": "<token>",
"url": "<url>"
},
"name": "register_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https:// URL that will receive POSTs. | |
| token | Yes | Your inbox token. | |
| address | Yes | Your inbox address. |