AI Agents and Coding Assistants
What Can Go Wrong When an Agent Manages Your Inbox
The main failure modes of AI email agents, from misfiled messages to leaked data, and the settings and habits that reduce each one.
Key takeaways
- Strangers can send text straight into your agent's workspace, which makes email a prime route for hidden instructions.
- Sorting errors are quiet: a message filed away or archived may never be noticed until the deadline has passed.
- A sent email cannot reliably be recalled, so sending deserves approval long after sorting has been delegated.
- Inboxes hold password resets, financial notices and other people's secrets, which raises the cost of any leak.
- Start with read and draft access, check the quiet folders and keep a way to switch the agent off.
An agent that manages your inbox can bury an urgent message, send a reply you would never have written, reveal private information or act on instructions slipped in by a stranger. Email is an unusually risky place for automation: anyone in the world can put text into it, and it often holds the keys to your other accounts.
None of this means you should never use one. Sorting and drafting can save real effort. The trick is knowing which powers cause which problems, then granting them one at a time.
What an inbox agent can touch
It helps to separate the powers that often arrive bundled together.
- Reading messages, attachments and sometimes contacts.
- Organizing with labels, folders, archiving and spam marking.
- Drafting replies for you to review.
- Sending and forwarding.
- Deleting.
- Changing settings, such as filters and forwarding rules.
- Reaching other tools, such as your calendar, files or payment apps.
Each step down the list raises the stakes. For a fuller picture of what comes with a connection, see what an assistant inside your email can read and do.
Quiet mistakes in sorting
An agent decides what counts as important from patterns and from your instructions. Unusual messages are exactly where this fails: a first note from a new client, a short message from a relative about an emergency, a legal notice that looks like marketing.
The trouble is silence. A bad draft is visible, but a message tucked into a "low priority" folder simply never appears. You may learn of it weeks later.
Summaries carry a similar risk. A condensed version can drop a condition, such as "we can proceed only if the deposit arrives by Friday," and keep the cheerful first half. Open the original for anything involving money, dates, health or legal matters.
Replies that cause trouble
A drafted reply may state things that are not true. It can invent a meeting time, confirm an order that was never checked or promise a refund. Because the writing sounds smooth, errors slide past a quick glance.
Tone is another hazard. A reply that is fine for a colleague may read as cold to someone who has just shared bad news. The agent does not know your history with each person unless that history is in front of it, and even then it may misjudge.
Recipients matter too. Replying to everyone instead of one person, choosing the wrong contact with a similar name or leaving an old thread quoted below can expose information. If the agent sends on its own, you hear about these from the people affected.
Hostile messages
Anyone can email you. A message can include text aimed at your agent, asking it to forward certain mail, share a document or change a setting. This is prompt injection, and the sender needs nothing more than your address. The text may be hidden from your view but fully visible to the software.
Ordinary scams also work differently when an agent is the first reader. A fake invoice might be filed as a real one and queued for payment. A message imitating your boss might be answered politely with the requested details. Attackers have always imitated trusted senders, and AI makes polished imitations cheaper, as covered in why spelling mistakes no longer give phishing away.
Account takeover and privacy
Your inbox is often the recovery route for banking, shopping and social accounts. Reset links and one-time codes arrive there. An agent with full access, or an attacker steering it, sits close to all of them.
Privacy concerns extend beyond you. Your mail contains what other people wrote, sometimes about health, money or conflicts. They did not choose your tool. Depending on your job, sending their words to an outside service may breach a contract, a professional duty or a privacy law.
Check how the provider stores mail, whether content may be used to improve its models, how long it is kept and who else can see it. These policies change, so read the current version. At work, ask before connecting anything.
Damage that is hard to see
Some errors leave little trace. A new filter might route a whole category of mail to archive. A forwarding rule might copy messages elsewhere. Marking real senders as spam can teach your mail service to hide them in the future.
Make a habit of checking settings, not only messages. Once a week at first, look at filters, forwarding addresses, connected apps and the sent folder. Anything you do not recognize deserves immediate attention.
Calendars, attachments and chains of action
Inbox agents are often connected to calendars and files, and mistakes can travel along those links. An invitation may be accepted over an existing commitment. A time may be read in the wrong time zone. A tentative suggestion buried in a thread may be entered as a firm appointment.
Attachments add their own hazards. An agent that opens a document to summarize it takes in whatever that document says, including any planted instructions. One that saves attachments automatically may fill a shared folder with files nobody checked.
Chains multiply effects. Suppose a message triggers a calendar entry, which sends invitations, which prompts replies that the agent then answers. A single misreading has now reached many people. Automated senders can make it worse: an agent answering an auto-reply, which answers back, can produce a loop of messages.
Limit the length of these chains. Cap how many messages can go out in an hour, require approval before invitations reach people outside your organization and make sure automatic notices are never answered. Check that the cap is enforced by the tool itself.
A short test before you rely on it
Spend a week watching before you trust. Send yourself a few awkward test messages from a second account: an urgent request with a dull subject line, a newsletter that looks personal, a thread where the plan changes halfway down. Include a harmless planted line, such as a request addressed to AI assistants to add a particular word to the next draft.
See what the agent does with each one. If the planted word appears, you have learned that text from strangers can steer it. Passing such a test proves little, since a real attacker may be cleverer, but failing it tells you to keep powers narrow.
A safer way to set it up
- Start with read-only access, or a single label that you move messages into.
- Let the agent suggest sorting for a while and compare its choices with yours.
- Allow labeling next, but block deletion and keep "low priority" mail visible.
- Allow drafts, never automatic sending, for anything beyond trivial acknowledgments.
- Keep settings, forwarding rules and contacts off limits.
- Exclude sensitive threads where the product allows it.
- Protect your accounts with strong sign-in methods that do not depend only on email.
- Know where to revoke access and test that you can.
Marking a short list of senders as always shown to you is also worthwhile: family, your manager, your bank, your doctor. These steps follow the broader least-access checklist.
If something has already gone wrong
Pause the agent and remove its access first. Then review sent items, trash, archive and spam for the period in question. Remove unfamiliar rules and forwarding addresses.
If private information went to the wrong person, tell those affected promptly and honestly, and follow any reporting duty your workplace has. A recall feature may not work once mail has left your system, so a direct follow-up is safer. If you suspect an attack, change passwords, end other sessions and contact your bank about any financial accounts at risk.
Common questions
Is it safe to let an agent send routine replies?
It can be reasonable for narrow cases with fixed wording and known recipients, such as confirming receipt on a dedicated address. Open-ended replies to anyone who writes are much riskier.
How much checking is enough?
Check everything at the start. Later, sample the sorted folders and read every outgoing draft that involves commitments or sensitive subjects. Increase checking again after an update or a mistake.
Should my work inbox and personal inbox share one agent?
Keeping them apart is usually wiser. Separation stops an error in one from spilling into the other and respects your employer's rules. It also makes the record of what happened much easier to follow, which matters when you need to audit and undo an agent's work.