MepMail
Open-source email platform with a Resend-compatible API, SMTP relay, business mailboxes on your own domain, and an MCP server for AI agents.
At a Glance
About MepMail
MepMail is an open-source email platform that combines a transactional email API and SMTP relay (Send) with business mailboxes on your own domain (Mail, also called Correio). It is built for products, teams and AI agents, and the code is published under AGPL-3.0 with a hosted cloud option and a self-hosted option. Delivery runs on Amazon SES.
What It Is
MepMail puts two kinds of email in one account on the same verified domain. Send covers application email such as sign-ups, password resets, receipts, notifications and marketing broadcasts, through an API, SMTP or MCP. Mail provides real mailboxes for people and AI agents, with a webmail and desktop apps for Windows and Linux.
The repository positions it as an open-source alternative to Resend, SendGrid, Mailgun and Postmark for sending, and to a Google Workspace or Microsoft 365 inbox for your domain.
How Send works
The API follows Resend's request and response shapes, so the Resend SDK can be pointed at MepMail by changing the base URL and key. Send supports batch sends, idempotency keys, an SMTP relay, guided domain DNS verification (including bring-your-own DKIM), signed webhooks, contacts and segments, templates, broadcasts, one-click unsubscribe headers and an automatic suppression list. A CLI command, npx @mepmail/cli migrate --from resend, copies contacts, templates, webhooks, domains and suppressions from a Resend account. The site says each email is run through 21 deliverability checks, and that sending slows or pauses when bounce or complaint rates climb.
Mailboxes for people and agents
Mail offers mailboxes on your domain with aliases, a smart inbox (People, Notifications, Newsletters), snooze, scheduled send, undo send, folders and rules. You can import existing mail over IMAP, or connect Gmail, iCloud, Yahoo, Zoho or IMAP accounts. Agents get their own mailbox, read and draft replies, and you choose whether they send directly or wait for approval of each reply.
Agent and MCP integration
An official MCP server is available hosted with OAuth or locally via npx -y @mepmail/mcp, for clients such as Claude, Cursor and Codex. An n8n community node adds a new-mail trigger and mailbox operations. The web app also serves agent-discovery files like llms.txt.
Self-hosting
Self-hosting uses Docker Compose and requires an AWS account with SES access. The README notes that the self-hosting guide does not yet cover the business mailboxes. The latest listed release is desktop-v1.0.3, a Linux desktop build published 2026-10-14.
Community Discussions
Be the first to start a conversation about MepMail
Share your experience with MepMail, ask questions, or help others learn from your insights.
Pricing
Self-hosted (AGPL-3.0)
Free open-source software under AGPL-3.0; you pay for your own AWS/SES and hosting.
- Docker Compose self-hosting
- Business mailboxes (Correio) not covered by the self-hosting guide yet
- You pay AWS
Send Free
MepMail Cloud Send free plan, no card.
- 100/day (~3k/month)
- 1 domain · 1 workspace · 1,000 contacts
- Attachments per message 1 MB
- No overage (daily limit)
Mail free trial
7 days free on the team's first Mail plan; billing starts when trial ends unless cancelled.
- Sending limited to 50 recipients a day and 200 in total during trial
Send Starter
1,500 emails/day
- 1,500/day (~45k/month)
- 10 domains · 3 workspaces · unlimited contacts
- Attachments 1 MB
- No overage (daily limit)
Send Pro 110K
110,000 emails/month; recommended.
- 25 domains · 10 workspaces · unlimited contacts
- Overage US$ 0.35/1k
- Attachments 5 MB
- US$ 20 first monthly bill for eligible new customers
- Annual US$ 290 upfront, no paid overage
Send Pro 220K
220,000 emails/month
- Overage US$ 0.32/1k
Send Scale 550K
550,000 emails/month
- Overage US$ 0.29/1k
- Unlimited domains, workspaces, contacts
Mail Solo
1 mailbox
- 1 GiB shared
- 500 outbound recipients a month
- 2,000 messages received a month
- Up to 3 domains
Mail Duo
3 mailboxes
- 3 GiB shared
- 2,000 outbound recipients a month
- 5,000 messages received a month
- Up to 3 domains
Mail Equipe
10 mailboxes
- 10 GiB shared
- 10,000 outbound recipients a month
- 10,000 messages received a month
- Up to 10 domains
Capabilities
Key Features
- Resend-compatible email API
- SMTP relay
- Idempotency keys for sends
- Domain verification with BYODKIM
- Signed webhooks
- Contacts, segments and topics
- Broadcasts and templates
- One-click unsubscribe and suppression list
- Deliverability checks on every email
- Resend migration CLI
- Business mailboxes on your own domain
- Agent mailboxes with draft and approval controls
- Hosted and local MCP server
- IMAP import and external account connection
- Windows and Linux desktop apps
- Self-hosting with Docker Compose
