Give an AI agent its own identity with the narrowest permissions the job needs, cap what it can send or spend, and require a person to approve anything it cannot undo. The Saraswati Stitch checklist below has seven controls. Three Product Hunt launches from late November 2026 take on parts of this problem, and each ranked third on its launch day: GrayPass verifies who is in control before an agent takes a sensitive action, Clam AI lets you share an inbox with agents under rules, and Skillland scores agent skills before you install them.
The risk has a name
OWASP lists it as LLM06:2025 Excessive Agency: damaging actions that follow from unexpected, ambiguous or manipulated model output. Its root causes are excessive functionality, excessive permissions and excessive autonomy. Manipulation is a serious risk for inbox agents, because anyone can email your agent, and a message can contain instructions designed to hijack it. That attack is called prompt injection.
The seven controls
| Control | What it means | Example |
|---|---|---|
| Own identity | The agent gets its own account or API key, never your login | A service account or a dedicated support inbox |
| Least privilege | Only the scopes the task needs, read-only by default | Read-only mailbox access for an agent that only sorts email |
| Draft then approve | The agent prepares, a person executes | Refunds, outbound email to new contacts, contract changes |
| Hard limits | Caps on sends, spend and records changed per hour | 20 emails an hour, no payments above a set amount |
| Allow lists | Which tools, domains and recipients it may touch | Can email existing customers only |
| Full logging | Every action recorded with the input that caused it | A daily review of what the agent did |
| One kill switch | Revoke its token in one place, instantly | Disable the OAuth app or rotate the key |
Can AI agents access Gmail?
Yes, through Google's OAuth permissions, and the scope you grant decides the risk. Google offers separate Gmail API scopes for read-only access, composing drafts, sending, and full mailbox control. An agent that only sorts mail needs read-only access. The compose scope covers drafting and sending, so an agent meant only to draft needs that limit enforced in its own code, with a person approving before anything is sent.
Vet skills and plugins before installing
Agent skills, MCP servers and plugins run with the agent's permissions. Read what each one does and what it can reach, prefer ones from known publishers, and install them in a test account first.
Start small
Run a new agent read-only for a week, review its proposed actions, then grant one write permission at a time. Our page on human in the loop explains where approval steps belong, and our AI governance guide covers the policy side.
Saraswati Stitch®