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

ControlWhat it meansExample
Own identityThe agent gets its own account or API key, never your loginA service account or a dedicated support inbox
Least privilegeOnly the scopes the task needs, read-only by defaultRead-only mailbox access for an agent that only sorts email
Draft then approveThe agent prepares, a person executesRefunds, outbound email to new contacts, contract changes
Hard limitsCaps on sends, spend and records changed per hour20 emails an hour, no payments above a set amount
Allow listsWhich tools, domains and recipients it may touchCan email existing customers only
Full loggingEvery action recorded with the input that caused itA daily review of what the agent did
One kill switchRevoke its token in one place, instantlyDisable 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.