plan_unsubscribe
Preview which senders will be unsubscribed via their List-Unsubscribe headers and get a plan_id for execution; no mailbox changes occur until you approve.
Instructions
Dry run: changes nothing. Returns what would be affected and a plan_id for execute_plan. Show the user the summary before asking whether to execute. Unsubscribe from senders using their own List-Unsubscribe header: one-click POST, else a mailto message to the header's address. Senders with only a link, or nothing, are reported for the user to handle.
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": "<mailbox>",
"senders": "<senders>"
},
"name": "plan_unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | A connected mailbox address (see list_mailboxes) | |
| senders | Yes | Sender addresses, at most 100 |