unsubscribe
Unsubscribe from mailing lists using a message's List-Unsubscribe header: sends a one-click POST or mailto request, or returns a web link when no automated option exists.
Instructions
Unsubscribe from the mailing list a message came from, using its List-Unsubscribe header. Prefers RFC 8058 one-click (an HTTPS POST), then sends the mailto request from your account. If only a web link exists, returns it for the user to open. Accepts id or ids (up to 50). Never use this on spam or phishing: unsubscribing confirms the address is active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A single message id | |
| ids | No | Several message ids (up to 50); give either id or ids, not both |