clawaimail

Give your AI agent a real email address. Send, receive, and manage emails via API.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clawaimail" with this command: npx skills add joansongjr/clawaimail

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 mybot@clawaimail.com
  • 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

ProblemCauseFix
Gateway crashes on startupmcpServers added to openclaw.jsonRemove it from openclaw.json, use mcporter instead
"CLAWAIMAIL_API_KEY not set" warningMissing env varAdd --env CLAWAIMAIL_API_KEY="..." to mcporter config
API calls return errorsInvalid API key or service unreachableCheck 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

ToolDescription
list_inboxesList all your email inboxes
create_inboxCreate a new email inbox (e.g. mybot@clawaimail.com)
send_emailSend an email from an inbox
list_messagesList messages in an inbox
read_emailRead a specific email message
search_emailsSearch emails by keyword
delete_inboxDelete an inbox and all its messages
account_infoGet 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: assistant@clawaimail.com

User: Send an email to john@example.com saying hello
Agent: [calls send_email with to "john@example.com", 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: jane@company.com - Subject: "Meeting tomorrow"
       2. From: support@service.com - Subject: "Your ticket #1234"
       3. From: newsletter@tech.io - 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: billing@vendor.com - "Invoice #5678 - Due March 15"
       2. From: accounting@partner.org - "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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

lobsterMail.ai - instant email for your agent

Email for AI agents. Create inboxes, receive and send email. No API keys, no human signup.

Registry SourceRecently Updated
4050Profile unavailable
Automation

Email Triage Pro

Intelligently categorize, prioritize, and draft replies for emails. Fetches emails via web_fetch (Gmail web) or browser, no OAuth required. AI-powered classi...

Registry SourceRecently Updated
1740Profile unavailable
Automation

Email Automation

Automate email triage, categorize, draft replies, and auto-archive in Gmail, Outlook, or IMAP to maintain an organized, efficient inbox.

Registry SourceRecently Updated
9640Profile unavailable
Automation

Inbox Triage Bot

AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown di...

Registry SourceRecently Updated
3440Profile unavailable