lethe_unsubscribe
Unsubscribe from chosen senders found in a saved mailbox scan by sending one-click RFC 8058 requests; without confirm, it returns the unsubscribe plan instead.
Instructions
Unsubscribe from the named sender addresses (from a saved scan; latest by default).
One-click senders (RFC 8058) get a single POST to their own unsubscribe URL. Senders with only a plain link are skipped unless allow_link_visits=true; a visited link may still need a confirm click on the sender's page. mailto-only senders are never contacted: lethe cannot send mail, so their addresses are returned for you to email yourself. Flagged senders (possible phishing or broken headers) are skipped unless include_flagged=true.
Nothing happens without confirm=true. Without it, this returns the plan.
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": "lethe_unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| scan_id | No | ||
| senders | Yes | ||
| include_flagged | No | ||
| allow_link_visits | No |