mail_delete_message
Move an email message to the Trash folder, where it remains recoverable until the mailbox is emptied.
Instructions
Move a message to Trash. Recoverable — it stays in the account's Trash mailbox until emptied.
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": {
"accountName": "<accountName>",
"mailboxPath": "<mailboxPath>"
},
"name": "mail_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | No | ||
| accountName | Yes | ||
| mailboxPath | Yes | ||
| rfc822MessageId | No |