MepMail

io.github.JE4NVRG由 GitHub 帳號 JE4NVRG 發布v0.71.1更新於 Oct 24, 2026

Transactional email and agent mailboxes: send, broadcasts, domains, Correio inboxes.

已驗證Streamable HTTP可網頁執行溝通與協作商業與電商

概覽

AI 產生的概覽

MepMail 讓助理寄送交易型電子郵件、管理聯絡人與網域,並在 Correio 代理信箱中讀取、起草和寄送郵件。

可以做什麼
寄送、排程、改期或取消交易型郵件,支援單次最多 100 封的批次寄送,並提供單封郵件最佳實務報告與用量查詢。查詢郵件狀態與時間軸,並在批次寄送前檢查帳戶送達率。建立、更新、刪除或徹底清除聯絡人,並列出網域、廣播、範本、Webhook 與抑制清單。使用 Correio 代理金鑰時,列出並讀取信箱郵件、取得附件。儲存草稿、回覆與轉寄,然後寄送或請信箱擁有者核准。
適用情境
適合需要讓助理寄送或排程交易型郵件、查看投遞狀態、管理聯絡人與受眾資料,或在 Correio 信箱中讀信、準備草稿並在有權限時寄送的情境。
執行需求
本機 npm 套件需要 Node.js 20 或更新版本,也可使用託管 OAuth 端點。至少需要 MEPMAIL_API_KEY(用於寄送與聯絡人工具的完整存取團隊金鑰)或 MEPMAIL_MAIL_TOKEN(用於信箱的 Correio 代理金鑰)其中之一。選用 MEPMAIL_BASE_URL、MEPMAIL_MAIL_ORIGIN、MEPMAIL_MAIL_DOWNLOAD_DIR 與 MEPMAIL_MAIL_UPLOAD_DIR。需要能連線至 MepMail API 的網路。
安裝前請注意
API 金鑰與信箱權杖是敏感憑證,以 Bearer 方式傳送;聯絡人工具需要完整存取金鑰,建議盡量限定到寄件網域。寄送、排程、取消、修改聯絡人以及刪除或清除聯絡人都會變更資料,寄送郵件可能產生費用。附件下載與上傳僅限設定的目錄。本機套件只涵蓋部分工具;廣播、網域、API 金鑰等寫入功能僅在託管服務提供。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MepMail,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.JE4NVRG%2Fmepmail/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "mepmail": {
      "type": "http",
      "url": "https://api.mepmail.dev/mcp"
    }
  }
}

README

@mepmail/mcp

[MepMail MCP server]

Official MepMail MCP server for local MCP clients — Claude Desktop, Claude Code, Cursor, Codex and anything that speaks stdio. It drives your MepMail instance over the public REST API (Resend-compatible wire) with a team API key, and, with a Correio agent key, your mailboxes: read the inbox, save replies as drafts and send them (or ask the owner to approve).

MepMail also runs a hosted MCP server (OAuth, no install) at https://api.mepmail.dev/mcp. This package is for clients that launch local servers from config. Tool names and result shapes match the hosted server's; it covers a subset — the reading, sending and contact tools (22) — and the write surfaces beyond contacts (segments, topics, broadcasts, templates, webhooks, domains, API keys) plus the team picker are hosted-only.

Guide: https://docs.mepmail.dev/mcp · Packages: https://docs.mepmail.dev/packages · Published as @mepmail/mcp on npm.

Requires Node.js 20 or newer.

Quickstart

  1. Create an API key in the MepMail dashboard (API keys) — a full-access key, optionally scoped to the sender domain your agent sends from. A sending-access key is confined to /emails, so it would 403 on the contact tools (list_contacts, get_contact, create_contact, update_contact, delete_contact) with restricted_api_key.
  2. Add the server to your client:

Claude Desktop (claude_desktop_config.json) — and any client with the same config shape (Cursor: mcp.json):

json
{  "mcpServers": {    "mepmail": {      "command": "npx",      "args": ["-y", "@mepmail/mcp"],      "env": {        "MEPMAIL_API_KEY": "ms_...",        "MEPMAIL_BASE_URL": "https://api.mepmail.dev"      }    }  }}

Claude Code:

bash
claude mcp add mepmail -e MEPMAIL_API_KEY=ms_... -e MEPMAIL_BASE_URL=https://api.mepmail.dev -- npx -y @mepmail/mcp

Correio mailboxes — create an agent key in Correio → Settings → Agents: mmb_... for one mailbox, or "Connect an agent to several mailboxes" for an mmt_... credential over the mailboxes you choose, with read, draft and optionally send permission. Then add it to the same server (an API key is optional when you only need mailboxes):

bash
claude mcp add mepmail -e MEPMAIL_MAIL_TOKEN=mmt_... -- npx -y @mepmail/mcp

Environment

Set at least one of MEPMAIL_API_KEY and MEPMAIL_MAIL_TOKEN.

VariableRequiredDefaultMeaning
MEPMAIL_API_KEYfor sending tools—Team API key (ms_...). Sent as Bearer to your instance only.
MEPMAIL_BASE_URLnohttps://api.mepmail.devYour instance's API URL.
MEPMAIL_MAIL_TOKENfor mailbox tools—Correio agent key (mmb_... or mmt_...). Sent as Bearer to the dashboard origin only.
MEPMAIL_MAIL_ORIGINnohttps://mepmail.devWhere your dashboard answers.

Tools (22)

Send and manage email:

  • send_email — send or schedule one transactional email (cc/bcc/reply_to, tags, attachments, topic-scoped sends).
  • send_email_batch — up to 100 emails in one call.
  • get_email, list_emails — status and timeline (last_event: delivered, bounced, complained, ...).
  • update_email, cancel_email — reschedule or cancel a scheduled email.
  • get_email_insights — per-email best-practice report and score.
  • get_deliverability, get_usage — account standing before bulk work.

Audience and account:

  • create_contact, update_contact, delete_contact (with erase=true for GDPR/LGPD scrubbing), get_contact, list_contacts — with segment filters.
  • list_domains, get_domain — DNS records and verification state.
  • list_broadcasts, get_broadcast.
  • list_templates, get_template.
  • list_webhooks, list_suppressions.

Correio mailboxes (with MEPMAIL_MAIL_TOKEN, same five tools as the hosted https://api.mepmail.dev/mcp/correio):

  • mailbox_list_accounts — the mailboxes the key reaches, with permissions and the default one.
  • mailbox_list_messages, mailbox_read_message — inbox, drafts and sent; pass mailbox with a team credential. Listing is one page at a time, newest first: pass the returned nextCursor as cursor until hasMore is false (a cursor only works for the same mailbox, folder and filters). Filters run on the server before the page is cut: query (words, "quoted phrases", de:/from:, para:/to:, assunto:/subject:, tem:anexo, depois:/antes:), from, subject, unread, after, before; limit up to 100 (50 when searching). Mail that arrives while paging comes before the first page, so start over to see it. A short or empty page never proves a message is absent from the mailbox, and search reads an index that can lag about a minute behind new mail. Dates: a listing's after/before use the order time (arrival, or when a snoozed message came back; a draft's last edit), a search uses the arrival time, and a search also finds snoozed messages, which the listing leaves out until they return.
  • mailbox_get_attachment — one attachment by message id, revision and index (from mailbox_read_message): filename, bytes and sha256. With MEPMAIL_MAIL_DOWNLOAD_DIR set the file is saved there (never overwriting); otherwise it comes back as content_base64, up to 512 KiB.
  • mailbox_save_draft — new draft, edit, reply or forward, from that mailbox's address and signature. attachments adds files as { filename, content_base64 }, or { path } for a file inside MEPMAIL_MAIL_UPLOAD_DIR (no other local path is ever read); keep_attachments picks the files to keep from the edited draft or the forwarded message (by default all of them; a reply keeps none). Limits: 10 files, 256 KiB each, about 700 KiB in all. Files travel only inside the draft request, so nothing is left behind when a draft is abandoned.
  • mailbox_send_draft — sends with the send permission; otherwise the owner gets an approval request (awaiting_approval).

Every tool result is one JSON block envelope — { notice, untrusted_data } — so agents can tell team-authored strings from tool output and never treat recipient data as instructions.

Safe retries when sending

send_email and send_email_batch accept an optional top-level idempotency_key. Keep the same key and identical arguments when retrying the same send operation. Generate a new key for a new operation. The server passes it as the HTTP Idempotency-Key header; it is not an email header or message field.

Keys are scoped to the team and retained for 24 hours. A completed retry replays the original result. Reusing a key with different arguments returns a conflict; an operation still in progress can also return a conflict. An incomplete reservation can be recovered after 10 minutes. These limits apply to the server, so use an API version that supports this contract.

Agent discovery

License

MIT

來源:packages/mcp/README.md,提交 33c43a5

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

3
  1. v0.71.1最新Oct 16, 2026
  2. v0.71.0Oct 9, 2026
  3. v0.6.69Sep 28, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分