trashEmail
Trash Email
Move a Gmail message to trash.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "delete that email", and it calls trashEmail.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"messageId": "<messageId>"
},
"name": "trashEmail"
}Arguments
accountIdstringoptionalConnected account this acts on: an accountId or email from listMailAccounts. Omit for the primary account. Pass the SAME account you found the message / draft / label in: a Gmail id is per-account, so aiming a non-primary id at the…messageIdstringrequiredThe Gmail message ID to trash
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- delete that email
- trash the message from X
Pair it with
The verbs that finish the job.
Questions
What does trashEmail do?
Move a Gmail message to trash. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use trashEmail from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "delete that email", and it calls trashEmail.
Is trashEmail safe to let an AI call?
trashEmail deletes or sends, and calling it again does not undo it, so a careful client confirms with you before it runs. It reaches a system outside The Cloud on your behalf.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.