Your AI Assistant Does Not Need the Whole Inbox
The assistant is almost set up. You want it to sort the morning’s mail and draft three replies. Then the consent screen appears, and the list of what it wants to do with your account is longer than the job. It is tempting to press Allow, as if broad access were the price of a useful assistant.
It is not. An AI assistant needs the access its one job uses and nothing more: what it reads, what it may draft, and what only a person may send or delete. Everything past that is risk you took on for no gain.
Your inbox is a strange place to take orders
Every email in your inbox was written by someone else. The UK National Cyber Security Centre puts the problem plainly: inside a large language model there is no distinction between data and instructions. A line in an incoming message can read like a command to the model.
The NCSC also writes that prompt injection may never be totally mitigated, and that the best to hope for is reducing its likelihood or its impact. So you cannot count on the model to catch every trick. You can decide what it is able to do when it falls for one.
OWASP’s Top 10 for LLM Applications has a name for the weakness that turns a fooled model into damage: Excessive Agency. It is the weakness that lets damaging actions happen in response to unexpected, ambiguous or manipulated model output. OWASP names three causes: too much functionality, too many permissions, too much autonomy. An inbox assistant can easily have all three.
The strongest fixes are subtractions
OWASP illustrates the risk with a scenario, not a reported incident. A personal assistant only needs to read mail, but the extension it uses can also send. A malicious email uses indirect prompt injection to make the agent find sensitive information in the inbox and forward it to the attacker.
Look at three of the fixes OWASP lists: an extension that only reads mail, a read-only sign-in scope, and a person who reviews and presses send on every mail the assistant drafts. None of them is a better prompt. Each one removes a power.
That is the idea to keep: a prompt is not a permission. Telling the assistant “never send anything” is a request. A scope it does not hold is a limit. OWASP’s related advice: enforce authorization in the systems downstream, and do not rely on the model to decide what is allowed.
Check what each permission really allows
Permissions often cover more than their names suggest. Below are the developer names. Ask the tool’s maker which ones it requests. In Gmail’s API:
- gmail.compose is described as “manage drafts and send emails”. The scope that drafts also sends.
- gmail.modify reads, composes and sends. Modify includes sending.
- gmail.readonly views messages and settings. It cannot send, but it still sees the mailbox. Read-only is not the same as narrow.
- gmail.metadata shows labels and headers, not the body.
- The full scope reads, composes, sends and permanently deletes all mail. Google says to request it only when an app must delete permanently, bypassing the trash.
Microsoft Graph splits it differently. Mail.ReadWrite can create, read, update and delete mail but cannot send; sending is its own permission, Mail.Send. So that scope can draft without sending, and it can also delete. Mail.ReadBasic reads mail without bodies, previews or attachments.
Google tells developers to choose the most narrowly focused scope possible. Hold the tool you connect to the same standard.
Write a four-line access list first
This is how we work at Affarit Studio. Before any assistant touches mail, write its one job in one sentence, then four lines:
- Read: which mail the job needs. A label or a sender, not “everything”.
- Draft: what it may prepare for you.
- Act: what it may do on its own. Keep it small and reversible.
- Never: sending or deleting without a person, and anything outside the job.
None of the permissions above is described as limited to one label or sender, so check how the tool narrows this, and if it relies on a setting or a prompt, write that down.
Then hold the consent screen against the list, line by line. If a permission allows more than the list (a drafting job that asks for a scope that also sends, say), you have three honest choices: find a narrower option, pick another tool, or accept it knowingly and write down that the limit now rests on something weaker than a permission. Our piece on the human-in-the-loop protocol covers where that person belongs.
Already connected something? A Google Account holder can open the linked apps page, use “See details” to check what each app can reach, and press “Remove access” on anything that holds more than its job.
None of this is new thinking. The GDPR’s data minimisation principle asks that personal data be limited to what is necessary for its purpose. An access list borrows the same idea for one assistant. For the wider questions about where your data goes, see The Trust Deficit.
Start with one job
Pick the single task you most want off your plate and write its four lines before you press Allow. If you want a second view on where AI fits in your business, take our 3-minute free audit. We’ll send a tailored read on where you are, what to focus on, and whether Affarit is the right fit.
