AI agents invoke gmail_send to trigger actions in Access. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
Sending an email is an external operation with immediate real-world side effects — the message is delivered to recipients the moment the tool succeeds. This is not merely writing data into a store; it triggers an irreversible external communication.
From the tool's definition "Send an email from a configured Google account" and "Side effect: delivers the email immediately upon success"
Attacks that exploit this kind of access
Send an email from a configured Google account. Supports new messages and replies. Side effect: delivers the email immediately upon success. Returns the sent message ID. It is categorised as a Execute tool in the Access MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Access MCP server in PolicyLayer and add a rule for gmail_send: 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 Access. Nothing to install.
gmail_send is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the gmail_send 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 gmail_send. 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.
gmail_send is provided by the Access MCP server (scottpedia0/access). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →