Plainmail
為 AI 代理在自己的網域上使用真正的電子郵件:新增網域、設定其 DNS(Cloudflare、Vercel、Porkbun)、建立信箱和別名,並讀取、寄送及回覆郵件。你可以在任何郵件應用程式中讀取同一個信箱。
託管 MCP 伺服器
npx add-mcp 'https://app.plainmail.dev/api/mcp/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
An email MCP server for your own domains
Plainmail's remote MCP server lets Claude and other AI agents set up mailboxes on domains you own, then read and answer the mail. The mailboxes are real IMAP accounts, so you can read the same mail in Apple Mail or the Gmail app.
What an agent can do
- Add a domain and write its MX, SPF, DKIM and DMARC records at your DNS host.
- Check whether a domain's DNS is healthy and say what's missing.
- Create mailboxes and aliases, and set the sender name.
- List, read, send, reply to, flag and move messages, and fetch attachments.
The full list of tools is in the docs. Using Claude Code? See how to give Claude Code an email address. Comparing providers? See the best email for AI agents.
Things to ask
- Set up hello@mynewapp.com on Plainmail
- Is the DNS for mynewapp.com healthy?
- Summarize what came into support@mynewapp.com today
- Reply to the latest message from Maya and say the annual plan is $50
Connect it
In Claude Code:
claude mcp add --transport http plainmail https://app.plainmail.dev/api/mcp/mcp
In Claude on the web or desktop, connect Plainmail from the Claude directory. Cursor, VS Code and other clients with remote MCP and OAuth use it too. Step-by-step instructions are in the docs.
You stay in control
- You sign in and choose what the agent may do: read mail, send and organize mail, or manage domains and mailboxes. Revoke access any time in Settings.
- Mailbox passwords never pass through the agent. A new mailbox comes with a link that shows its password once, to you.
- Email content is marked untrusted in every tool result, and the server tells the agent never to follow instructions found inside an email.
- Daily sending limits and the no-bulk-mail rule apply to agents too.
Why a real mailbox
Plainmail puts mail on your own domains, in normal IMAP mailboxes that you and your agent both use, for $5 a month across up to 50 domains.
Questions
Which AI clients work with the Plainmail MCP server?
Claude on the web and desktop (from the connectors directory), Claude Code, Cursor, VS Code and other clients with remote MCP and OAuth. API keys work for clients without OAuth.
Can the agent see my mailbox password?
No. Mailbox passwords never pass through the agent. A new mailbox comes with a link that shows its password once, to you.
Can the agent send bulk email?
No. Daily sending limits and the no-bulk-mail rule apply to agents too.
Get started $5 a month for up to 50 domains and 100 mailboxes