Guides · Agent security
Gmail agent vs Gmail skill: why capability-scoping beats prompt-scoping
A Gmail skill tells a general agent to stick to email. A Gmail agent is built so email is all it can reach. For an agency or an MSP running other people's inboxes, that difference — a request in a prompt versus the shape of the software — decides what you can honestly tell a client about what your assistant could have touched.
By the Ingenious AI team · Published 28 November 2026 · Reviewed 28 November 2026
The short answer
Prompt-scoping limits an agent by instruction: the tool list stays broad, and a sentence in the prompt asks the agent to stay in the mailbox. Capability-scoping limits an agent by construction: the tools outside the mailbox were never put in the box, so the action cannot happen no matter what the prompt, the thread, or an incoming email says. If you run systems for clients, buy the second kind — and judge every tool by asking what it is incapable of.
Two ways to put an assistant on an inbox
Say you've put an AI assistant on your agency's inbox. It reads mail, drafts replies, flags the urgent stuff. Useful. Genuinely.
Now ask a simple question. What else can it do?
If your assistant is a general agent with a Gmail skill bolted on, the honest answer is: whatever else it has tools for. Maybe that's a calendar. Maybe it's a drive full of client files, a browser, a code runner. The skill tells it to stick to email. That instruction sits in the prompt, and the prompt is a request. Most days the request holds. You're betting the agency on "most days."
A Gmail agent is built the other way round.
It isn't a general assistant that agreed to do email. Email is all it is. It holds the tools to read and draft in one mailbox, and that's the whole list. It can't open your file store because there's no file tool in it. It can't wander off to social media, spin up a server, or go poking around a client's systems. Not because it was told not to. Because the capability was never put in the box.
That difference sounds small. It isn't.
How prompt-scoping fails
Prompt-scoping fails in ways that are hard to see coming. A long thread buries the instruction. A pasted block of text in an incoming email carries its own instructions, and now two sets of directions are fighting. A model update changes how literally your wording gets followed, and nobody re-tests the inbox after a model update. Each failure is quiet, too. The agent doesn't announce that it stepped outside its brief. It just does the thing, helpfully, in the wrong place.
Notice what all three failures have in common. The tool was there the whole time. The calendar tool, the file tool, the browser — each one sat within reach while the instruction held, and each one stayed within reach the moment the instruction slipped. The scope was never a property of the software. It was a property of a conversation, and conversations drift: threads get long, senders paste strange blocks of text, models change under the same prompt. An instruction is only as strong as the next message in the thread.
How capability-scoping fails — differently
Capability-scoping fails differently. When the tool isn't there, the action doesn't happen. There's no argument to lose, no wording to misread, no update that quietly widens the reach. The boundary isn't a sentence in a prompt. It's the shape of the software.
That shape is something you can write down. The tool inventory of a scoped agent fits on one page: read in this mailbox, draft in this mailbox, search this mailbox — and nothing else with a client's name on it. When a client, an auditor, or your own insurer asks what the system could touch, the inventory is the answer, and it stays the answer after a model update, because the update changes how the agent reasons, not which tools exist. You still re-test behaviour after an update. You do not have to re-argue the boundary.
Why this lands harder for agencies and MSPs
For an MSP, this matters more than it does for a hobbyist. You run other people's systems. A client doesn't ask whether your assistant was well-instructed; they ask what it could have touched. "We told it not to" is a weak answer in that conversation. "It runs in a box that only contains the mailbox tools" is a strong one. One is a policy. The other is an architecture, and architectures are what you can put in front of a client, an auditor, or your own insurer without crossing your fingers.
There is a contract angle, too. When you describe your tooling in a security questionnaire, "access is limited by system prompt" invites follow-up questions you cannot fully answer, because even you do not know every thread that could bend the instruction. "Access is limited to these named tools, in this named mailbox" is a statement you can sign. Procurement teams and cyber insurers read for exactly that distinction: a control they can enumerate beats a behaviour they have to trust.
What scoping does not fix
None of this makes a scoped agent magic. It can still misread a thread, draft a reply you'd never send, miss the one email that mattered. Scoping doesn't fix judgment. What it fixes is blast radius. When the agent gets something wrong — and some day it will — it gets it wrong inside one mailbox, with a short list of things it could possibly have done. You can audit that list. You can insure against it. You can explain it.
So the working rule for an operator is two-part. Scope by construction first, so the worst case stays small. Then spend your review time where scoping cannot help: the drafts it writes, the flags it raises, the threads it decides are urgent. That is judgment work, and it belongs to your team, sampled and spot-checked like any junior hire's first month on the inbox.
Five checks before you trust an inbox tool
You do not need a penetration test to tell the two designs apart. Five plain checks, done in one sitting, will show you which one you are looking at:
- Ask for the tool inventory. Not the feature list — the actual list of actions the agent can execute. If nobody can produce it, the scope is a prompt.
- Ask what happens on a hostile email. A message arrives instructing the assistant to forward the thread to an outside address. In a scoped agent, the honest answer names the missing tool. In a prompt-scoped one, the answer is a hope about instruction priority.
- Ask what a model update changes. Behaviour, certainly. The boundary, never — if the boundary is the tool list.
- Ask which mailboxes it can reach. One named mailbox, or every account the underlying assistant was ever connected to? The answer should be a list, not an adjective.
- Ask for the audit list. After a bad day, can the vendor enumerate everything the agent could possibly have done? A short, closed list is the whole point of the design.
The boring question
So when you're weighing tools, skip the demo for a second and ask the boring question: what is this thing incapable of?
If the answer is a paragraph of instructions, you're looking at prompt-scoping. If the answer is a list of tools that simply aren't in the box, you're looking at the real thing.
Build on the second one.
Sources
- Justin Schroeder (Standard Agents) — "Why Domain-specific Agents Are the Future", Agentic AI Foundation (2026) — the talk this guide is drawn from; the Gmail agent versus Gmail skill comparison is its chapter at 10:24. The argument is architectural, and this guide presents it that way — no incident rates or outcome statistics are claimed for it.
- Standard Agents specification — Tools (version 0.1.0, linked from the talk, read November 2026) — the draft spec's tool rules, including schema validation and scoped variables. The spec is a fast-moving pre-1.0 draft, not a settled standard.
Frequently asked questions
What is the difference between a Gmail agent and a Gmail skill?
A Gmail skill is an instruction set added to a general agent: the agent keeps every other tool it has, and a prompt asks it to stick to email. A Gmail agent is built for the mailbox alone: reading and drafting in that one mailbox is the whole tool list, so actions outside email are not discouraged — they are impossible from inside the box.
Why does prompt-scoping fail?
Prompt-scoping fails quietly. A long thread can bury the instruction, text pasted into an incoming email can carry competing instructions, and a model update can change how literally the wording is followed. The agent rarely announces that it stepped outside its brief; it just does the wrong thing in the wrong place, helpfully.
What does capability-scoping not fix?
Judgment. A scoped agent can still misread a thread, draft a reply you would never send, or miss the one email that mattered. Scoping fixes blast radius: when the agent gets something wrong, it gets it wrong inside one mailbox, with a short list of things it could possibly have done.
Why does this matter more for an MSP than for a hobbyist?
An MSP runs other people's systems. A client asks what the assistant could have touched, not how well it was instructed. “It runs in a box that only contains the mailbox tools” is an answer you can put in front of a client, an auditor or an insurer. “We told it not to” is a policy; the box is an architecture.
How can I tell which kind of tool I am looking at?
Ask one question: what is this thing incapable of? If the answer is a paragraph of instructions, that is prompt-scoping. If the answer is a list of tools that are not in the box, that is capability-scoping. Ask for the tool inventory, not the demo.