# Cloudflare Business Email and AI Agent Inboxes: Full Guide

> Learn how to buy a domain on Cloudflare, set up business email and a calendar with MailOS, and give AI agents inboxes using PlaraMail and MCP.

By Jonathan Ben Haim. Updated 2026-11-29. Source: https://jonathanai.io/blog/cloudflare-business-email-ai-agent-inboxes

Many freelancers and small teams want an address like info@yourbusiness.com without paying a monthly fee for every user. Some also want an AI agent to handle a [dedicated inbox](/blog/email-for-ai-agents-own-inbox) for codes, sorting, and draft replies. This guide shows how to set up both on one domain, using tools that run in your own Cloudflare account.

In short, you can buy a domain on Cloudflare and set up business email with a calendar and booking page in your own Cloudflare account, using MailOS, a free open source repo. A second repo, PlaraMail, adds an [MCP server](/blog/turn-any-api-into-mcp-server) so [AI agents](/blog/5-ai-agents-for-small-business-mcp) like [Claude Code and Cursor](/blog/claude-code-vs-cursor) can read, search, and send emails. Email Routing allows up to 200 routing rules per domain, so you can have up to 200 addresses, some for people and some for agents.

*Last updated November 24, 2026.*

## Who This Is For

This guide is for freelancers, small businesses, and small teams that want a business address without paying a monthly subscription for each user. It also fits anyone who wants an AI agent to manage a dedicated inbox, for example to receive verification codes, sort messages, and prepare draft replies.

## What You Need Before You Start

- A [free Cloudflare account](/blog/cloudflare-free-tier-ai-projects).
- A credit card to buy the domain.
- A GitHub account, because the Deploy to Cloudflare button copies the repo to your account.
- For sending emails: a free Resend account for MailOS (according to the repo, up to 3,000 emails per month). PlaraMail requires the Workers Paid plan.

## Step 1: Buy a Domain on Cloudflare

Log in to the Cloudflare dashboard, go to Domain Registration, search for an available name, and buy it. Cloudflare sells domains at cost, with no markup. The price depends on the extension, so check the final amount before you pay.

An important advantage: the domain already sits on Cloudflare's name servers. This is required to use Email Routing, Cloudflare's service for incoming email.

**Note:** Email Routing replaces the domain's MX records. If the domain already has a mailbox on Gmail or Outlook, that mailbox will stop receiving email. For this reason, the safest option is to start with a new domain.

## Step 2: Email and Calendar with MailOS

MailOS is an open source repo (AGPL v3) from 14 Technologies. It gives you mailboxes on your domain, a calendar, a booking page, and drive storage. Everything runs in your Cloudflare account.

According to the repo, the free plan includes 10 inboxes and 1GB of drive storage per user. There is no credit card required and no per-user fee. The Pro and Team plans add more inboxes, more domains, more drive storage, and an [AI assistant](/blog/jarvis-os-personal-ai-assistant-guide).

### Setup Steps

According to the repo, follow these steps:

1. Click **Deploy to Cloudflare**. Keep the Worker name as `mailos`. Changing the name breaks email routing.
2. Go to the `/setup` path and create an admin user:

```
https://your-worker-url/setup
```

3. Add your domain, choose a sending method (Resend is the easiest option on the free plan), and create your inboxes.
4. Save a Cloudflare token with limited permissions as a secret of the Worker, named `CF_TOKEN`. This step is required.

### Calendar and Booking Page

The calendar supports recurring events, time zones, and email invitations for attendees. The booking page lets a client pick an open slot on your calendar. You can also install it as an app on your phone directly from the browser, with notifications for new email.

## Step 3: Agent Inboxes with MCP

PlaraMail (formerly called pluramail) is an open source repo under Apache 2.0. It combines all the addresses on your domain into one mailbox with an interface and an MCP server.

According to the repo, the server exposes 25 tools for reading, searching, writing drafts, sending, labeling, and forwarding email. It works with Claude Code, Codex, Cursor, and other MCP clients. The client connects through OAuth, and you approve it on a consent page. Send permission is granted separately, only to the clients that need it.

### What You Need

- A domain on Cloudflare.
- D1, R2, and Cloudflare Access.
- Receiving email works with Email Routing on the free plan.
- Sending requires Workers Paid and Cloudflare Email Sending, which is currently in public beta.

### Limits to Know

These limits come from the PlaraMail repo itself:

- An agent can send up to a daily limit per address. The default is 20.
- There is no approval step before sending yet. An approval queue and agent permissions are on the roadmap.
- There are no users or roles yet. Anyone who passes Cloudflare Access sees all the addresses.
- There is no email export, IMAP, or SMTP yet.

### Another Option: agents-mail

You may also want to look at agents-mail by nikuscs, an agent inbox with an MCP server. It requires Workers Paid. The repo explicitly recommends using a separate, temporary domain, not your business or personal domain, because of the MX record replacement.

## How Many Inboxes You Can Set Up on One Domain

| Limit | Value | Source |
|---|---|---|
| Routing rules in Email Routing per domain | 200 | Cloudflare docs |
| Verified destination addresses per account | 200 | Cloudflare docs |
| Domains and subdomains per zone | 30 | Cloudflare docs |
| Recipients per email | 50 | Cloudflare docs |
| Inboxes on the free MailOS plan | 10 | MailOS repo |
| Sending to any recipient through Cloudflare | Requires Workers Paid | Cloudflare docs |

In practice, you can have up to 200 addresses on one domain. You can create inboxes for people (info, sales, and your own name) and inboxes for agents (for example, agent1 for verification codes). You can also combine them. For example, an agent prepares a draft in a shared inbox, and a person approves it.

On Workers Paid, 3,000 outgoing emails per month are included. After that, the price is $0.35 per 1,000 emails.

**Open question:** Every address routes to one system. For this reason, the simplest approach is to decide in advance which addresses belong to MailOS and which belong to PlaraMail. Test the separation with a trial address before you move real email. I did not find an official instruction for running both repos together on the same domain, so you should test this yourself.

## Security Before You Give an Agent an Inbox

- Give the agent a dedicated inbox, not your personal one.
- Ask for drafts, not automatic sending, as long as there is no approval step.
- Set a low daily sending limit.
- Review the Activity log in one console every few days.
- Emails from outside can contain instructions meant to mislead the agent. Do not let the agent act on email content without your approval.

## First Tasks to Try

- Create an address such as agent@yourdomain.com and ask Claude Code to wait for a verification code and return it.
- Ask the agent to summarize today's emails and prepare draft replies.
- Send yourself a calendar invitation through the booking page and check that it arrives.

## Sources

- MailOS on GitHub (https://github.com/14technologies/mailos)
- PlaraMail on GitHub (https://github.com/johnnywon/plaramail)
- agents-mail on GitHub (https://github.com/nikuscs/agents-mail)
- Email Routing limits, Cloudflare docs (https://developers.cloudflare.com/email-routing/limits/)
- Email Service limits, Cloudflare docs (https://developers.cloudflare.com/email-service/platform/limits/)
- Email Service pricing, Cloudflare docs (https://developers.cloudflare.com/email-service/platform/pricing/)
