gmail_untrash
Restore a Gmail message from Trash to the original mailbox using the account ID and message ID. Recover accidentally deleted emails across multiple Google accounts.
Instructions
Restore a Gmail message from Trash back to the mailbox. Requires full scope.
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": {
"accountId": "<accountId>",
"messageId": "<messageId>"
},
"name": "gmail_untrash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| messageId | Yes | The message ID to restore from trash |