GOOGLESUPER_DELETE_MESSAGE
Permanently deletes a specific email message by its ID from a Gmail mailbox; for user_id, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
This record as markdown: /tools/googlesuper/googlesuper-delete-message.md
What GOOGLESUPER_DELETE_MESSAGE does on Google Super
AI agents call GOOGLESUPER_DELETE_MESSAGE to permanently remove resources in Google Super, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | — | User's email address. The special value 'me' refers to the authenticated user. |
message_id | string | — | Identifier of the email message to delete. |
Parameters from the server's own tool schema.
Why GOOGLESUPER_DELETE_MESSAGE is rated Critical
This tool irreversibly removes data (email messages) from Gmail. Permanent deletion is a destructive operation with no recovery mechanism. Misuse by an AI agent could result in loss of important communications and historical records. Severity is high rather than critical because impact is limited to the authenticated user's mailbox (or delegated accounts), not systemic or organization-wide.
From the tool's definition Tool description explicitly states 'Permanently deletes a specific email message' — the word 'permanently' indicates irreversible action that cannot be undone.
Attacks that exploit this kind of access
The rule that runs GOOGLESUPER_DELETE_MESSAGE safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Google Super, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For GOOGLESUPER_DELETE_MESSAGE, this is the rule to start with:
GOOGLESUPER_DELETE_MESSAGE is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Google Super, apply this rule, and every GOOGLESUPER_DELETE_MESSAGE call is checked against it from then on.
Questions about GOOGLESUPER_DELETE_MESSAGE
Permanently deletes a specific email message by its ID from a Gmail mailbox; for user_id, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access. It is categorised as a Destructive tool in the Google Super MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
GOOGLESUPER_DELETE_MESSAGE accepts 2 parameters: user_id, message_id. The full parameter table on this page comes from the server's own tool schema.
Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_DELETE_MESSAGE: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Google Super. Nothing to install.
GOOGLESUPER_DELETE_MESSAGE is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the GOOGLESUPER_DELETE_MESSAGE rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for GOOGLESUPER_DELETE_MESSAGE. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
GOOGLESUPER_DELETE_MESSAGE is provided by the Google Super MCP server (googlesuper). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Google Super, and thousands of servers like it.
Across the catalogue