delete_inbox
Delete an inbox and all its messages.
This record as markdown: /tools/deadsimple-email/delete-inbox.md
What delete_inbox does on Pypi:deadsimple Email
AI agents call delete_inbox to permanently remove resources in Pypi:deadsimple Email, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Why delete_inbox is rated Critical
This tool irreversibly deletes an entire inbox and all associated messages—a classic destructive action that cannot be undone. The blast radius is high because an AI agent with access could permanently lose email data, verification codes, and other critical communications.
From the tool's definition delete_inbox: Delete an inbox and all its messages
Attacks that exploit this kind of access
The rule that runs delete_inbox safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Pypi:deadsimple Email, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For delete_inbox, this is the rule to start with:
delete_inbox 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 Pypi:deadsimple Email, apply this rule, and every delete_inbox call is checked against it from then on.
Questions about delete_inbox
Delete an inbox and all its messages. It is categorised as a Destructive tool in the Pypi:deadsimple Email MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Pypi:deadsimple Email MCP server in PolicyLayer and add a rule for delete_inbox: 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 Pypi:deadsimple Email. Nothing to install.
delete_inbox 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 delete_inbox 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 delete_inbox. 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.
delete_inbox is provided by the Pypi:deadsimple Email MCP server (pypi:deadsimple-email). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Pypi:deadsimple Email, and thousands of servers like it.
Across the catalogue