For a person, Outlook is fine. You open it, you read, you reply.
I got tired of it when I started handing parts of my inbox to AI agents. I wanted an agent to read a support thread, find the earlier messages from the same customer and write the reply. Every way of doing that in Outlook treated the agent as a visitor in a mailbox made for me.
So I built a mailbox where the agent is expected. This post covers what tired me out, the six rules I built around, and what I gave up by leaving.
What tired me out about Outlook
Every mailbox is a seat
Microsoft 365 Business Basic, the entry business plan, costs $7.00 per user per month when paid yearly, or $8.40 month to month. Each new person is another seat.
There is a free option for addresses like support or billing. A shared mailbox holds up to 50 GB without a licence. But nobody signs in to a shared mailbox. Each person who opens it needs a licensed mailbox of their own first.
The AI is sold per person too
Copilot is an add-on. Microsoft 365 Copilot Business is listed at $18.00 per user per month, paid yearly, marked down from $21.00. Business Standard with Copilot built in is $23.50 per user per month.
Copilot works for the person who holds the licence, and that is a reasonable product. I needed something else: a mailbox for an agent that runs in my terminal.
An agent is a guest
An outside agent reaches an Outlook mailbox through Microsoft Graph. There are two ways in.
- Sign in as me. The agent gets my mail, all of it, and sends under my name.
- Sign in as an app. I register an app and grant it a permission. Microsoft describes the one for sending mail like this: "Allows the app to send mail as any user without a signed-in user." By default it covers the whole organization.
The second one can be narrowed to a single mailbox. Microsoft's instructions for that use Exchange Online PowerShell. You point Exchange at the app, define a scope of mailboxes, and assign the app a role for that scope. Then you remove the organization-wide grant, because the scope has no effect while it is still there. Microsoft says permission changes take between 30 minutes and 2 hours to apply.
All of this was designed for an IT department with thousands of mailboxes, and it is thorough at that job. I am one person with a few domains, and my agents come and go by the week.
Microsoft is working on it
Microsoft now has a preview called Microsoft 365 Resources for Agents. It gives an agent its own account, email address and mailbox. The service description lists public preview dates of November 24 and December 1, 2026.
- It is open to customers in Microsoft's Frontier program, which needs at least one Microsoft 365 Copilot or E7 licence in the organization.
- It bills 100 Copilot Credits per agent per month, plus usage.
- The agents it supports are Microsoft's own: Autopilot, the Sales Development and Service agents, and agents built in Copilot Studio.
I work with coding agents like Claude Code. They are not on that list.
Outlook and the mailbox I built, side by side. Diagram drawn in code with AI. The Outlook logo belongs to Microsoft.The 6 rules I built around
I built these into cloudmail, a webmail app that deploys into my own Cloudflare account.
1. An agent gets its own address in one command
cloudmail agent-inbox create --domain yourdomain.com \ --purpose "Support triage" --send-mode approve --ttl-hours 720 This returns an address like agent-7k2m9q@yourdomain.com and an API token, shown once. Nobody buys a seat and nobody opens an admin console.
2. Its key opens one mailbox
The token works for that mailbox and nothing else. My own inbox, with the bank mail and the contracts, is out of its reach. I don't write a scope or wait for a cache, because one mailbox is the only thing the token was ever given.
3. Sending is a setting, and the default is "ask me"
Each agent mailbox has one of three send modes.
-
draft_only: the agent writes drafts and cannot send. -
approve: every send waits for a person. This is the default. -
auto: the agent sends by itself. The token needs a separate scope for this.
In approve mode the server stores the message and answers pending_approval with a link. Nothing leaves. The message sits in a folder called Pending approval until I press a button.
Only a signed-in person can change the mode. An agent that asks for more sending rights is refused.
4. The agent cannot approve itself
No agent tool approves a send. A token cannot approve its own message, a message from the token that created it, or a message from a token it created.
There is one more brake. If what the agent just read looks like a prompt injection, its sends are held for 30 minutes in every mode, including auto.
5. Every agent mailbox has an end date
An agent mailbox can be given a lifetime of up to 90 days. When it expires, the token is revoked and the mail is archived to my storage bucket. I never have to remember to clean up after an experiment.
For an agent that has to run unattended, I give it a short life and a fixed list of recipients:
cloudmail agent-inbox create --domain yourdomain.com \ --purpose "Invoice triage" --send-mode auto \ --allow @partner.com --ttl-hours 24 That agent sends without asking, only to that one domain, for one day.
6. It speaks what agents speak
Agents don't click through a mail client. They call tools. So the mailbox has an MCP server at /mcp with 73 tools, and connecting Claude Code is one line:
claude mcp add --transport http cloudmail https://mail.yourdomain.com/mcp None of those tools deletes mail permanently. There is also a command-line tool, where every command that changes something takes --dry-run, and a REST API with an OpenAPI description. The full list is on the agents page.
For me it is still a normal inbox, with threads, search, labels and shared inboxes. The built-in assistant follows the same rule as outside agents. It saves a draft and I send it.
Screenshot of cloudmail with sample data. The assistant saved a draft. Nothing was sent.Where it runs
All of it runs inside my own Cloudflare account. Mail arrives through Cloudflare Email Routing and goes to a Worker. Each mailbox is its own SQLite database in a Durable Object, and attachments go to R2. Sending goes through Cloudflare Email Service, or through my own Amazon SES or Resend account.
The mail stays in an account I own, and nobody counts seats. Adding a person or an agent adds nothing to the licence.
What it costs
- The cloudmail licence is paid once: $9 for one domain, $29 for unlimited domains. The code is public, and running it needs a licence key.
- Cloudflare bills my account directly. The usual setup is the Workers Paid plan at $5 a month for the whole account, with 3,000 sent emails a month included.
- The AI features run on Workers AI in the same account. Cloudflare includes 10,000 neurons a day, then charges $0.011 per 1,000.
Take a team of three. On Business Basic that is $21 a month, or $252 a year. Add Copilot Business for each person and it is $75 a month, or $900 a year. On cloudmail it is $29 once plus $60 a year, for any number of people and agents.
That comparison flatters me, so read it with care. Microsoft's price includes the Office web apps, file storage and online meetings. Mine is email only.
What I gave up
- Outlook itself. There is no IMAP or SMTP server, so the Outlook app and Apple Mail cannot connect. I use the web app, which installs on a phone and sends push notifications.
- Everything around the mail. No calendar, no Teams, no Word or Excel.
- Microsoft's compliance and security suite. If your company needs it, this is not a replacement.
- Any DNS host I like. The domain must use Cloudflare DNS.
- Someone else running it. Updates are mine to apply.
Should you leave Outlook?
Stay if your company lives in Teams and Excel, or if an IT department runs your mail and wants its controls. Outlook is built for that, and Microsoft's own agents will get mailboxes there.
Look at something agent-first if you have your own domains, you already work with agents like Claude Code or Codex, and you want each one to have an address, a narrow key and a send button that only you can press.
You can click around a live demo without signing up. The code is on GitHub, and there is a longer comparison with Microsoft 365.
Disclosure: I work on cloudmail. This post was written with AI. Microsoft prices and feature descriptions were checked against Microsoft's own pricing and documentation pages on December 1, 2026. Cloudflare prices were checked on November 25, 2026.




