unsubscribe_sender
Sends an unsubscribe email using the mailto: address in a message's List-Unsubscribe header to opt out of mailing lists. If only an https link exists, returns it for manual action.
Instructions
Execute the mailto: variant of a message's List-Unsubscribe header by sending a minimal unsubscribe email through Proton Bridge SMTP. Only works when the header includes a mailto address — if it only has an https link, this throws and returns that link for you to open manually instead (this server never auto-fetches unsubscribe URLs, to avoid firing an unreviewed request from mail content). Call get_unsubscribe_info first to see what's available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Composite email id from previous tool output. | |
| confirmed | No | Set to true to confirm this send when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled. |