mepmail

MCP serverCommunication

Transactional email with a Resend-compatible API: send emails, manage broadcasts and domains.

Use mepmail in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add mepmail and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use mepmail

Details

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

mepmailStart free

Install mepmail

The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user mepmail 'https://api-mepmail.je4ndev.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://api-mepmail.je4ndev.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=mepmail&config=eyJ1cmwiOiJodHRwczovL2FwaS1tZXBtYWlsLmplNG5kZXYuY29tL21jcCJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://api-mepmail.je4ndev.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add mepmail --url 'https://api-mepmail.je4ndev.com/mcp'

    Run it once, then sign in with codex mcp login mepmail if the server asks for an account.

From the project's README

As published by je4nvrg/mepmail in README.md.

Self-host on your own AWS SES, or use the hosted cloud at mepmail.je4ndev.com. Migrating from Resend means changing two environment variables — not rewriting your integration.

Features

FeatureStatusNotes
Emails API (Resend-compatible)✅Send, batch, get, cancel — same request/response shapes as Resend.
Idempotency✅Idempotency-Key header dedupes retried sends.
API keys✅Create and revoke ms_ keys from the dashboard, with last-used tracking.
Suppression list✅Hard bounces and complaints suppressed automatically; review and remove per address, or manage via /suppressions (batch add/remove up to 1000).
Metrics✅Daily sends with bounce and complaint rates tracked against SES thresholds.
Webhooks (Standard Webhooks)✅Signed event deliveries (webhook-* and svix-* headers) with per-endpoint event selection, a delivery log, and bring-your-own whsec_ secret.
Domains + BYODKIM✅Guided DNS verification; bring your own DKIM key or let SES manage it.
Contacts✅Team-wide contacts with subscribe state, segments, topics, CSV import, and bulk POST /contacts/batch.
One-click unsubscribe (RFC 8058)✅List-Unsubscribe headers plus a hosted unsubscribe page.
Broadcasts✅Compose, schedule, and send to all contacts, a segment, or a topic; cancel while scheduled.
Templates + merge fields✅Reusable templates with per-contact merge fields; /templates API with per-team aliases.
API request logs✅Every API request recorded with request/response bodies, secrets redacted.
SMTP relay✅Drop-in SMTP on port 2587; authenticate with an API key.
Dashboard (en/pt-BR)✅Full dashboard in English and Brazilian Portuguese.
Self-host (Docker)✅Source-built Compose stack plus a setup wizard; sends through your own AWS SES.
Migrate from Resend✅npx @mepmail/cli migrate --from resend moves contacts, segments, topics, templates, webhooks, domains and suppressions; read-only against Resend, safe to re-run before cutover.
MCP for AI agents✅Hosted MCP server (https://api-mepmail.je4ndev.com/mcp, OAuth) and a local stdio server: npx @mepmail/mcp.
Agent discovery✅/.well-known/ai-catalog.json, /llms.txt and /auth.md served by the web app.
Docs (en/pt-BR)✅Full documentation at docs-mepmail.je4ndev.com.

Run it locally

Build from this source checkout:

git clone https://github.com/JE4NVRG/mepmail.git mepmail
cd mepmail
cp .env.example .env

Fill the two required secrets in .env before boot (MASTER_ENCRYPTION_KEY and BETTER_AUTH_SECRET; generate each with openssl rand -base64 32).

The supported installation path is a local source build (root Dockerfile / docker-compose.yml); third-party installers or prebuilt images are not supported release channels for this project. The source wizard (pnpm setup:aws) and the full SES/SNS event pipeline are documented in the self-hosting guide.

docker compose up --build -d

Dashboard at http://localhost:3000, API at http://localhost:3001.

Migrating from Resend

Keep your Resend SDK: point its baseUrl at your MepMail instance and swap the API key. The wire protocol is compatible, so request shapes do not change.

MCP for AI agents

npx -y @mepmail/mcp   # stdio server for Claude Code, Cursor and any MCP client

Links

License

Code is licensed under AGPL-3.0.

This project is derived from MillionSend; attribution and notices live in NOTICE.md. The @mepmail/mcp server ships under MIT. Upstream names, wordmarks and logos remain property of their respective owners and are not licensed under the AGPL.

Signals

Last commit
Oct 2026
Advanced
Delivery
mepmail MCP server → your ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-je4nvrg-mepmail
Source
github.com/je4nvrg/mepmail
Hosted endpoint
https://api-mepmail.je4ndev.com/mcp