archiveEmail
Archive Email
Archive a Gmail message: removes it from the inbox, keeps it in All Mail.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "archive that email", and it calls archiveEmail.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"messageId": "<messageId>"
},
"name": "archiveEmail"
}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 archive
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- archive that email
- clear it from my inbox
Pair it with
The verbs that finish the job.
Questions
What does archiveEmail do?
Archive a Gmail message: removes it from the inbox, keeps it in All Mail. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use archiveEmail 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 "archive that email", and it calls archiveEmail.
Is archiveEmail safe to let an AI call?
archiveEmail changes your workspace. What an AI creates is Private until you share it. 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.