gmail_block_sender
Blocks the sender of a Gmail message so future mail goes to Spam; requires confirmation and can be reverted with the unblock action.
Instructions
Block the sender of a message: their future mail goes to Spam (message menu > Block "sender").
Gmail blocks at once (no dialog); gmail.unblock_sender reverts it. Not offered for your own messages.
Requires confirm=true (outward-facing or destructive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Row index from gmail.list / gmail.search; omit to use the open conversation. | |
| query | No | Run this Gmail search first and take `index` from its results. | |
| folder | No | Open this folder/label first and take `index` from it. | |
| confirm | No | Must be true: this action is outward-facing or destructive. | |
| stay_open | No | Leave the conversation open on screen. | |
| keep_unread | No | If the conversation was unread, mark it unread again afterwards. | |
| message_index | No | Message of the thread (0 = oldest, numbering of gmail.read); default the last. | |
| expect_subject | No | Safety check: the conversation's subject must contain this text (case-insensitive), otherwise nothing is done (not_found). |