MepMail Docs

Integrations

n8n, Slack, Discord, Telegram, MCP, the SMTP relay and the API — how MepMail fits the tools you already run.

MepMail has several doors onto the same domains, suppressions, quotas and logs as the REST API, with no second system to keep in sync. Each door uses the credential for its job: a Send key (ms_) for the API, SMTP and the n8n node; a mailbox key (mmb_ or mmt_) for agents in Mail; OAuth on the hosted MCP. The recipes walk each path end to end.

n8n

The community node n8n-nodes-mepmail brings sending and management into any workflow, and its trigger starts workflows from MepMail events.

  • Node — send, schedule, cancel and batch emails; create, update, delete and list contacts; manage domains, broadcasts and suppressions; read usage.
  • Trigger — pick the events and activate the workflow: the trigger registers the webhook in MepMail itself (and removes it on deactivation), and verifies payload signatures (Svix / Standard Webhooks) out of the box.
  • Credential — MepMail API: your API origin plus an ms_ key with full access (the trigger manages its own webhook, so full access is required).
  • Mail (0.2.0; n8n resource and credential labels retain "Correio") — the trigger's Mailbox Received event fires when mail reaches an agent mailbox; turn on Fetch Correio Message and the trigger reads it (sender, subject, text, attachment names) with a MepMail Correio API credential: the dashboard origin plus a mailbox key (mmb_ or mmt_). The node's Correio Message resource lists and reads messages, saves a draft or a reply, and sends a draft — or asks the owner to approve it when the key has no send permission. See Mail events.

Install it from Settings → Community nodes → Install with the package name n8n-nodes-mepmail, or from npm. Source: github.com/JE4NVRG/n8n-nodes-mepmail.

Slack, Discord and Telegram

Webhook endpoints format themselves for the channel that owns the URL: create a webhook (Settings → Webhooks) whose URL is the service's incoming-webhook URL, and the payload arrives in that service's native shape.

ServiceURL you pasteDelivered as
Slackhttps://hooks.slack.com/services/…{"text": "…"}
Discordhttps://discord.com/api/webhooks/…markdown {"content": "…"}
Telegramhttps://api.telegram.org/bot<token>/sendMessage?chat_id=<id>a sendMessage call

Every other URL keeps the raw, signed JSON envelope (Svix-style headers), so your own endpoints behave exactly as before. Subscribe the events your team cares about — email.bounced, email.complained, quota.reached, deliverability.warning and the rest of the event catalog.

MCP server

AI agents — Claude Code, Cursor, VS Code, any MCP client — operate the platform through the MCP tools on the same pipeline. See MCP server for the Streamable HTTP endpoint at /mcp and the stdio package on npm.

SMTP relay

Any application that speaks SMTP — Ghost, Strapi, Supabase Auth, older stacks, and WordPress or WooCommerce through a common SMTP plugin — sends through the relay. Same domains, suppressions, tracking and logs as the API.

SettingMepMail Cloud
Hostsmtp.mepmail.dev
Port2587 (STARTTLS, TLS required)
Usernamemepmail
Passworda Send key (ms_...), ideally sending only

The dashboard shows the same values in Settings → SMTP. On your own installation, see Self-hosting → SMTP relay.

SDKs and migration

There is no SDK of ours to install — the official Resend SDKs work against MepMail by changing the base URL and the key. SDKs covers every language with each SDK's base-URL rules; Migrate from Resend moves the account with one command and walks through the code changes.

On this page