unsubscribe_from_sender
Input
threadId requiredA thread from the sender to unsubscribe from, as returned by mail.google.com/search_emails (its threadId field).
expectedSender requiredThe sender address the thread is expected to be from, asserted against the message before anything is clicked, so a stale thread id cannot unsubscribe you from the wrong list.
account optionalOptional authuser value for a browser signed into several Google accounts. Omit for the default (u/0).
Output
sender requiredThe sender address read from the message, not echoed from the input.
threadId requiredunsubscribed requiredWhether the unsubscribe was confirmed to Gmail.
control_present requiredWhether Gmail offered an unsubscribe control for this sender at all.
link_gone optionalWhether the unsubscribe control disappeared afterwards, which is Gmail's own signal that the request was accepted.
confirmation optionalGmail's own wording after confirming, quoted for the record rather than matched against.
