OpenMail

sh.openmailv0.1.0更新於 Oct 6, 2026

Gmail for agents: create inboxes, read and reply to mail, send email, manage domains. OAuth sign-in.

已驗證Streamable HTTP可網頁執行Productivity & WorkflowCommunication & Collaboration

概覽

AI 產生的概覽

讓助理透過託管服務建立信箱、讀取與回覆郵件、寄送郵件並管理網域。

功能
OpenMail 是為代理程式設計的託管郵件服務,被形容為「代理程式的 Gmail」。透過其 MCP 端點,助理可以建立收件匣、讀取需要回覆的來信、在同一討論串中回覆、寄送郵件以及管理網域。它也提供用於設定代理程式郵件存取權的設定與金鑰產生工具。
適用情境
當助理需要自己的郵件身分時適用:例如監控收件匣、草擬或寄送回覆,或在代理程式工作流程中處理以網域為基礎的郵件。它是託管服務,適合能連線遠端 HTTP MCP 端點的用戶端,而非本機程序。
執行需求
需要遠端 Streamable HTTP 端點 stdio 的用戶端需使用 mcp-remote。驗證方式為 OAuth 登入(Claude、Cursor)或透過 Authorization Bearer 標頭傳送 API 金鑰。另有收件匣範圍、唯讀與單一收件匣的端點變體。需要網路存取。
安裝前請注意
API 金鑰(Authorization: Bearer om_...)可存取帳號郵件,建議盡量使用收件匣範圍或唯讀端點。使用 API 金鑰時,setup_agent_email 與 mint_inbox_key 會在工具結果中傳回權杖,該權杖會進入聊天記錄,應將其移入代理程式的環境變數。此伺服器可以寄送與回覆郵件並管理網域,因此存在寫入操作。選用的 PostHog 分析預設每次呼叫記錄一個工具呼叫事件,除非關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OpenMail,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "openmail": {
      "type": "http",
      "url": "https://mcp.openmail.sh/mcp"
    }
  }
}

README

OpenMail MCP

Hosted Streamable HTTP MCP at https://mcp.openmail.sh/mcp. Gmail for agents: one inbox, read mail that wants a reply, reply in-thread.

There is no local stdio catalog — stdio-only clients should use mcp-remote.

Connect

Claude (OAuth): paste https://mcp.openmail.sh/mcp

Cursor (OAuth): Add to Cursor, or add the URL below without headers.

VS Code / any registry client: listed in the MCP Registry as sh.openmail/openmail.

Cursor or headless agents (API key):

json
{  "mcpServers": {    "openmail": {      "url": "https://mcp.openmail.sh/mcp",      "headers": { "Authorization": "Bearer om_YOUR_KEY" }    }  }}

Prefer an inbox-scoped key. Read-only: /mcp/readonly. One inbox: /mcp/inbox/{id}.

Keys and transcripts: over OAuth (Claude, Cursor sign-in) setup_agent_email and mint_inbox_key never return a token — the session is already authenticated, and anything returned lands in the chat. They point to the console, which shows a new key once in the browser. Over an API key (headless agent) the token is returned in the tool result; move it to the agent's env.

stdio-only clients: npx -y mcp-remote https://mcp.openmail.sh/mcp

Env

NamePurpose
OPENMAIL_API_URLAPI origin (https://api.openmail.sh)
MCP_RESOURCE_URLOAuth resource (https://mcp.openmail.sh)
MCP_JWT_SECRETSame secret as the API. Required in production; outside production falls back to NEXTAUTH_SECRET
CONSOLE_ORIGINConsent page host
PORTListen port
POSTHOG_API_KEYTurns on PostHog MCP Analytics ($mcp_tool_call per call). Unset = off
MCP_ANALYTICS_DEBUGSet to log every captured analytics event

See .env.example.

Local

pnpm installpnpm testpnpm dev

Contributing

Open an issue or PR. Run pnpm typecheck && pnpm test before pushing.

MIT © OpenMail

來源:README.md,提交 fd58362

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0最新Oct 6, 2026