Move an email to the bin
trash_emailMove an email to the Gmail bin without permanent deletion. Restore it within 30 days using untrash_email; after that, Gmail deletes it automatically.
Instructions
Move a message to the bin. This is NOT a permanent delete: the message keeps existing and untrash_email brings it back. Gmail does empty the bin by itself after 30 days, so it becomes permanent eventually — treat it as reversible for a month, not for ever. This server has no permanent-delete tool at all. The answer names the message that moved, so a wrong id is visible immediately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"message_id": "<message_id>"
},
"name": "trash_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Configured account: the email address, or the alias given at setup. | |
| message_id | Yes | Message to move to the bin. |