← Back to Skills Marketplace
joansongjr

Clawaimail

by focusailab · GitHub ↗ · v0.2.8 · MIT-0
cross-platform ⚠ suspicious
402
Downloads
0
Stars
0
Active Installs
13
Versions
Install in OpenClaw
/install clawaimail
Description
Give your AI agent a real email address. Send, receive, and manage emails via API.
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawaimail
  3. After installation, invoke the skill by name or use /clawaimail
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug clawaimail
Version 0.2.8
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 13
Frequently Asked Questions

What is Clawaimail?

Give your AI agent a real email address. Send, receive, and manage emails via API. It is an AI Agent Skill for Claude Code / OpenClaw, with 402 downloads so far.

How do I install Clawaimail?

Run "/install clawaimail" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawaimail free?

Yes, Clawaimail is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Clawaimail support?

Clawaimail is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawaimail?

It is built and maintained by focusailab (@joansongjr); the current version is v0.2.8.

💬 Comments