Blog

Why AI agents should never read raw email

Every email is text written by someone outside your company. Give it to an agent that can also act, and that stranger is now part of your agent's instructions.

Security3 min read
The short answer

AI agents with other tools should not read raw email because any email can carry instructions, and an agent cannot reliably tell data from commands. Keep mail in one gateway bot that works only for a present person, sends only after approval, and returns outcomes, not text, to the bots that asked.

The inbox is an open input

You cannot choose who emails you. Anyone can put text in front of an agent that reads your mail, and that text can say anything: forward this thread, open this link, change these numbers.

Model providers keep improving defenses, but the safest design does not depend on the model catching every attempt.

Separate the reader from the actors

The bot that reads mail should hold nothing else. The bots that hold other tools should never see mail text. Between them, pass only outcomes.

How Mailman does it

Availability

Gmail is invite-only right now.

Questions

What is prompt injection through email?

An attacker writes instructions into an email. An agent that reads it may follow them with whatever tools it holds.

How does Mailman stop it?

Only Mailman reads mail, it acts only for the person present, every send needs that person's approval, and other bots get counts, links and sent or not, never the email text.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.