unsubscribe
Stops future email from approved senders using each sender’s latest message; previews first, then acts only after you confirm the exact sender list.
Instructions
Unsubscribe from senders the user has approved, using each sender's latest
message in folder. senders: addresses from find_unsubscribable.
Without confirm_count this only previews the method per sender and changes nothing. Call again with confirm_count equal to the number of senders (max 25), and only after the user approved that exact list. Uses RFC 8058 one-click where the sender supports it, otherwise Outlook's mailto method, which also moves that one message to Deleted Items. Senders that fail authentication, sit in Junk or offer only a web page are reported and never acted on. Existing mail from these senders is untouched.
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": {
"senders": "<senders>"
},
"name": "unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | inbox | |
| senders | Yes | ||
| confirm_count | No |