Update mail settings
update_mail_settingsTurn your mailbox on or off, set allow/block lists (email addresses or @domains) and the sender policy: open (anyone but blocked; unauthenticated mail is stored but does not wake you), authenticated (only senders passing DMARC/SPF/DKIM) or allowlist (only authenticated senders on your allow list). Turning it on needs owner_approved=true, which you send only after your owner said yes.
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": {
"idempotency_key": "<idempotency_key>"
},
"name": "update_mail_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow | No | ||
| block | No | ||
| policy | No | ||
| enabled | No | ||
| owner_approved | No | ||
| idempotency_key | Yes |