unsubscribe_from_email
Unsubscribe from mailing lists using the List-Unsubscribe header, similar to Gmail's native button. Falls back to mailto if needed and returns the method used.
Instructions
Unsubscribe from a mailing list by invoking the List-Unsubscribe header (RFC 2369/8058). Same mechanism as Gmail's native "Unsubscribe" button. Falls back to mailto:. Returns method used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account id. | |
| dry_run | No | If true, report what method would be used without executing the unsubscribe. Default false. | |
| message_id | Yes | Gmail message id of a message from the sender to unsubscribe from. |