Clawaimail

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

Email infrastructure for AI agents. Create inboxes, send/receive email, and search messages.

已驗證STDIO僅桌面開發者工具溝通與協作

概覽

AI 產生的概覽

讓 AI 助理擁有自己的電子郵件地址,可建立信箱、收發郵件並搜尋收件匣。

可以做什麼
ClawAIMail 為代理程式提供電子郵件基礎設施。透過這個 MCP 伺服器,助理不需額外程式碼即可呼叫 send_email、read_inbox、search_emails、create_mailbox 等工具。底層服務另提供 REST API、即時郵件事件的 WebSocket 推送、針對來信與投遞狀態的 webhook、自訂網域,以及 Node.js 與 Python SDK。
適用情境
當助理需要以自己的身分收發郵件時適用,例如處理客服或通知信件、監控收件匣,或在工作流程中搜尋郵件。適合把郵件視為核心能力的代理程式情境,而非一次性腳本。
執行需求
以 stdio 本機程序方式執行,透過 npx 啟動 npm 套件 clawaimail-mcp,因此需要 Node.js 與網路連線。需要 ClawAIMail 帳號與 API key,透過環境變數 CLAWAIMAIL_API_KEY 提供。僅支援桌面端,沒有網頁版可執行檔。
安裝前請注意
需要密鑰 API key(CLAWAIMAIL_API_KEY),該金鑰可存取帳號下的信箱與郵件。助理可以寄信給任意收件者、建立與刪除信箱、刪除郵件以及註冊 webhook,因此對外寄信與刪除類操作應先確認。服務有付費方案(每月 5 美元至 99 美元)與用量限制;自架號稱免費且不限量。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ClawAIMail

Email infrastructure for AI agents.

[npm version] [License: MIT] [Documentation]


ClawAIMail gives AI agents their own email addresses and full programmatic control over sending, receiving, and managing email. Built for developers who need reliable email primitives in agentic workflows.

Features

  • REST API -- Send, receive, search, and manage emails with a simple JSON API.
  • MCP Server -- First-class Model Context Protocol server for Claude, Cursor, and other MCP-compatible clients.
  • WebSocket Streaming -- Real-time email events pushed to your agent as they happen.
  • Webhooks -- HTTP callbacks on incoming mail, delivery status, and other events.
  • Custom Domains -- Bring your own domain or use a @clawaimail.com address.
  • SDKs -- Official Node.js and Python SDKs for rapid integration.

Quick Start

Node.js

bash
npm install clawaimail
javascript
const { ClawAIMail } = require("clawaimail");
const client = new ClawAIMail({ apiKey: process.env.CLAWAIMAIL_API_KEY });
// Create a mailbox for your agentconst mailbox = await client.mailboxes.create({  name: "support-agent",  domain: "clawaimail.com",});
// Send an emailawait client.emails.send({  from: mailbox.address,  to: "[email protected]",  subject: "Hello from my AI agent",  text: "This email was sent by an autonomous agent.",});
// List incoming emailsconst inbox = await client.emails.list({  mailbox: mailbox.id,  unread: true,});

Python

bash
pip install clawaimail
python
from clawaimail import ClawAIMail
client = ClawAIMail(api_key="your-api-key")
# Create a mailboxmailbox = client.mailboxes.create(name="support-agent", domain="clawaimail.com")
# Send an emailclient.emails.send(    from_address=mailbox.address,    to="[email protected]",    subject="Hello from my AI agent",    text="This email was sent by an autonomous agent.",)
# List incoming emailsinbox = client.emails.list(mailbox=mailbox.id, unread=True)

MCP Server

ClawAIMail ships an MCP server so that Claude, Cursor, and other MCP-compatible clients can use email tools directly.

Claude Desktop

Add the following to your Claude Desktop MCP config (claude_desktop_config.json):

json
{  "mcpServers": {    "clawaimail": {      "command": "npx",      "args": ["-y", "clawaimail-mcp"],      "env": {        "CLAWAIMAIL_API_KEY": "your-api-key"      }    }  }}

Cursor

Add to your .cursor/mcp.json:

json
{  "mcpServers": {    "clawaimail": {      "command": "npx",      "args": ["-y", "clawaimail-mcp"],      "env": {        "CLAWAIMAIL_API_KEY": "your-api-key"      }    }  }}

Once configured, the agent can call tools like send_email, read_inbox, search_emails, and create_mailbox without any additional code.

Self-Hosting

ClawAIMail can be self-hosted for full control over your email infrastructure.

bash
# Clone the repositorygit clone https://github.com/joansongjr/clawaimail.gitcd clawaimail
# Install dependenciesnpm install
# Configure environmentcp .env.example .env# Edit .env with your SMTP credentials, database URL, and API keys
# Run database migrationsnpm run db:migrate
# Start the servernpm start

The server will be available at http://localhost:3000 by default. See the self-hosting docs for production deployment guides (Docker, Railway, Fly.io).

API Endpoints

MethodEndpointDescription
POST/v1/emails/sendSend an email
GET/v1/emailsList emails for a mailbox
GET/v1/emails/:idGet a single email by ID
DELETE/v1/emails/:idDelete an email
POST/v1/mailboxesCreate a new mailbox
GET/v1/mailboxesList all mailboxes
DELETE/v1/mailboxes/:idDelete a mailbox
POST/v1/webhooksRegister a webhook
GET/v1/webhooksList registered webhooks
DELETE/v1/webhooks/:idRemove a webhook
GET/v1/domainsList verified domains
POST/v1/domains/verifyVerify a custom domain
GET/v1/wsWebSocket connection for real-time events

Full API reference: clawaimail.com/docs/api

Pricing

FreeStarterProBusiness
Price$0/mo$5/mo$29/mo$99/mo
Emails/month1005,00050,000500,000
Mailboxes110100Unlimited
Custom domains--15Unlimited
Webhooks1525Unlimited
WebSocket--YesYesYes
SupportCommunityEmailPriorityDedicated

Self-hosted deployments are free and unlimited. See clawaimail.com/pricing for details.

Links

License

MIT -- see LICENSE for details.

來源:README.md,提交 96de265

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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