← 返回 Skills 市场
joansongjr

Clawaimail

作者 focusailab · GitHub ↗ · v0.2.8 · MIT-0
cross-platform ⚠ suspicious
402
总下载
0
收藏
0
当前安装
13
版本数
在 OpenClaw 中安装
/install clawaimail
功能描述
Give your AI agent a real email address. Send, receive, and manage emails via API.
使用说明 (SKILL.md)

ClawAIMail - Email for AI Agents

Give your AI agent its own email address. Create inboxes, send and receive real emails, search messages, and manage threads — all through a simple API.

What it does

  • Create Inboxes: Instantly create email addresses like [email protected]
  • Send Emails: Send real emails from your agent's address
  • Receive Emails: Get notified when emails arrive via webhook or WebSocket
  • Read & Search: Read messages, search by keyword, track threads
  • Manage: Labels, custom domains, and more

Setup

  1. Get your API key at https://clawaimail.com (free tier: 3 inboxes, 3K emails/month)
  2. Set your environment variable:
CLAWAIMAIL_API_KEY=pb_your_api_key

OpenClaw Configuration

⚠️ Important: Do NOT add mcpServers to openclaw.json — that field is not supported and will crash the Gateway.

Use mcporter (OpenClaw's MCP management tool) to configure:

# Add ClawAIMail as an MCP server
mcporter config add clawaimail "npx -y clawaimail-mcp" --env CLAWAIMAIL_API_KEY="pb_your_api_key"

# Test it works
mcporter call clawaimail.list_inboxes

# Check status
mcporter status

mcporter manages its own config at ~/.openclaw/config/mcporter.json, separate from the OpenClaw Gateway config.

Troubleshooting

Problem Cause Fix
Gateway crashes on startup mcpServers added to openclaw.json Remove it from openclaw.json, use mcporter instead
"CLAWAIMAIL_API_KEY not set" warning Missing env var Add --env CLAWAIMAIL_API_KEY="..." to mcporter config
API calls return errors Invalid API key or service unreachable Check key at https://clawaimail.com/dashboard

MCP Server Configuration (Claude Desktop / Cursor)

For non-OpenClaw MCP clients:

{
  "mcpServers": {
    "clawaimail": {
      "command": "npx",
      "args": ["-y", "clawaimail-mcp"],
      "env": {
        "CLAWAIMAIL_API_KEY": "pb_your_api_key"
      }
    }
  }
}

Available Tools

Tool Description
list_inboxes List all your email inboxes
create_inbox Create a new email inbox (e.g. [email protected])
send_email Send an email from an inbox
list_messages List messages in an inbox
read_email Read a specific email message
search_emails Search emails by keyword
delete_inbox Delete an inbox and all its messages
account_info Get account info, plan limits, and usage

Example Usage

Create an inbox and send an email

User: Create an email inbox called "assistant"
Agent: [calls create_inbox with username "assistant"]
       Created inbox: [email protected]

User: Send an email to [email protected] saying hello
Agent: [calls send_email with to "[email protected]", subject "Hello", text "Hello from your AI assistant!"]
       Email sent successfully.

Check for new messages

User: Check my inbox for new messages
Agent: [calls list_messages with inbox_id 1, unread true]
       You have 3 unread messages:
       1. From: [email protected] - Subject: "Meeting tomorrow"
       2. From: [email protected] - Subject: "Your ticket #1234"
       3. From: [email protected] - Subject: "Weekly digest"

Search emails

User: Find any emails about invoices
Agent: [calls search_emails with query "invoice"]
       Found 2 emails mentioning "invoice":
       1. From: [email protected] - "Invoice #5678 - Due March 15"
       2. From: [email protected] - "Updated invoice attached"

Pricing

  • Free: 3 inboxes, 3K emails/month
  • Starter ($5/mo): 10 inboxes, 5K emails/month
  • Pro ($29/mo): 50 inboxes, 50K emails/month, custom domains
  • Business ($99/mo): 200 inboxes, 200K emails/month

Changelog

0.1.2

  • Fix: Added error handling to all API calls (no more crashes on missing API key or network errors)
  • Fix: Accept both number and string IDs for inbox_id/message_id
  • Added startup warning when CLAWAIMAIL_API_KEY is not set
  • Added global exception handlers to prevent process crashes

0.1.0

  • Initial release

Links

安全使用建议
This skill's functionality (create inboxes, send/receive/search) matches the code and README, but there are metadata mismatches you should resolve before trusting it. Actionable steps: - Do not supply your real/high-privilege keys until you confirm the service and publisher (verify https://clawaimail.com and the GitHub repo linked in SKILL.md). The code will use CLAWAIMAIL_API_KEY from the environment and will auto-create an inbox if none exist. - The registry metadata omitted required env vars — ask the publisher or registry maintainer to correct this. Treat that omission as a red flag for sloppy packaging. - Prefer creating a purpose-limited API key on the provider side (if supported) and run the skill in a compartmentalized environment or with a key you can revoke. - Note the default BASE_URL can be overridden via CLAWAIMAIL_BASE_URL; ensure this points to the official API endpoint to avoid sending credentials to an unexpected host. - If you need higher assurance, review the upstream npm package (clawaimail-mcp) and the GitHub repo, and check the package's npm integrity and maintainers before installing or running with your primary credentials.
功能分析
Type: OpenClaw Skill Name: clawaimail Version: 0.2.8 The ClawAIMail skill bundle is a legitimate implementation of a Model Context Protocol (MCP) server designed to provide AI agents with email capabilities. The core logic in `index.js` facilitates standard email operations (sending, receiving, and searching) via the ClawAIMail API (api.clawaimail.com) using a user-provided API key. There is no evidence of malicious intent, data exfiltration of sensitive local files, or prompt injection; the 'auto-provisioning' of inboxes is a documented convenience feature, and the code follows standard security practices for MCP servers.
能力评估
Purpose & Capability
The name, description, SKILL.md, and index.js all align: the skill exposes mailbox creation, send/receive/search via an API. However registry metadata claims no required env vars while the code and SKILL.md clearly expect CLAWAIMAIL_API_KEY (and server.json marks it required). This metadata omission is inconsistent.
Instruction Scope
Runtime instructions and SKILL.md stay inside the stated purpose: they describe configuring an MCP server, setting an API key, and using tools (list_inboxes, send_email, etc.). The only notable behavior is automatic provisioning of a default inbox (index.js will auto-create an inbox if none exist), which is within the email service domain but worth knowing.
Install Mechanism
There is no install spec in the registry (instruction-only), but the package includes index.js, package.json, and a package-lock with normal npm dependencies. The code relies on @modelcontextprotocol/sdk and zod from npm — no arbitrary download URLs or obfuscated installers. The absence of an install section while shipping runnable code (and a listed npm package) is a mild inconsistency to be aware of.
Credentials
The skill requires a CLAWAIMAIL_API_KEY at runtime (index.js reads process.env.CLAWAIMAIL_API_KEY and will fail without it); SKILL.md instructs how to set it. Yet the registry metadata presented earlier lists no required env vars. This mismatch could lead to users supplying credentials without clear registry prompts, or conversely installing the skill thinking no secret is needed. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not attempt to modify other skills' configs, and only uses its own config/cache (a cached default inbox). It will perform network calls to the service API (expected for an email service).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawaimail
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawaimail 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.8
- Added _meta.json file for additional metadata. - No changes to functionality or documentation.
v0.2.7
clawaimail 0.2.7 - Updated skill metadata fields: `display_name` added, minor tag adjustments. - Added new file `glama.json`. - No changes to feature set or tool availability.
v0.2.6
Update display name to ClawAIMail - Email for AI Agents
v0.2.5
Update display name to Email for AI Agents
v0.2.4
Add mail/smtp/imap tags for better search discoverability
v0.2.3
Fix: add install spec and env declaration
v0.2.2
Fix MCP error handling, add uncaught exception guards, improve API key validation
v0.2.1
Auto-provision: inbox auto-created on first use, inbox_id now optional for all tools, new my_email tool, OpenClaw mcporter setup guide
v0.1.3
Added OpenClaw/mcporter setup guide, troubleshooting, changelog
v0.1.2
Fix: add error handling to api(), prevent crashes on missing API key or network errors, accept string IDs
v0.2.0
Republish as clawaimail
v0.1.1
Fix: ensure skill is visible on ClawHub
v0.1.0
- Initial release of ClawAIMail skill. - Enables AI agents to send, receive, and manage real emails via API. - Supports inbox creation, message search, threaded conversations, and labeling. - Includes setup instructions, MCP server config, tool descriptions, and usage examples. - Provides free and paid tier options for inboxes and email volume.
元数据
Slug clawaimail
版本 0.2.8
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 13
常见问题

Clawaimail 是什么?

Give your AI agent a real email address. Send, receive, and manage emails via API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 402 次。

如何安装 Clawaimail?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawaimail」即可一键安装,无需额外配置。

Clawaimail 是免费的吗?

是的,Clawaimail 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawaimail 支持哪些平台?

Clawaimail 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawaimail?

由 focusailab(@joansongjr)开发并维护,当前版本 v0.2.8。

💬 留言讨论