agentmail
Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. [email protected]).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/agungprabowo123/agentmail-2AgentMail — Agent-Owned Email Inboxes
Requirements
- AgentMail API key (required) — sign up at https://console.agentmail.to (free tier: 3 inboxes, 3,000 emails/month; paid plans from $20/mo)
- Node.js 18+ (for the MCP server)
When to Use
Use this skill when you need to:
- Give the agent its own dedicated email address
- Send emails autonomously on behalf of the agent
- Receive and read incoming emails
- Manage email threads and conversations
- Sign up for services or authenticate via email
- Communicate with other agents or humans via email
This is NOT for reading the user's personal email (use himalaya or Gmail for that). AgentMail gives the agent its own identity and inbox.
Setup
1. Get an API Key
- Go to https://console.agentmail.to
- Create an account and generate an API key (starts with
am_)
2. Configure MCP Server
Add to ~/.hermes/config.yaml (paste your actual key — MCP env vars are not expanded from .env):
mcp_servers:
agentmail:
command: "npx"
args: ["-y", "agentmail-mcp"]
env:
AGENTMAIL_API_KEY: "am_your_key_here"
3. Restart Hermes
hermes
All 11 AgentMail tools are now available automatically.
Available Tools (via MCP)
| Tool | Description |
|---|---|
list_inboxes | List all agent inboxes |
get_inbox | Get details of a specific inbox |
create_inbox | Create a new inbox (gets a real email address) |
delete_inbox | Delete an inbox |
list_threads | List email threads in an inbox |
get_thread | Get a specific email thread |
send_message | Send a new email |
reply_to_message | Reply to an existing email |
forward_message | Forward an email |
update_message | Update message labels/status |
get_attachment | Download an email attachment |
Procedure
Create an inbox and send an email
- Create a dedicated inbox:
- Use
create_inboxwith a username (e.g.hermes-agent) - The agent gets address:
[email protected]
- Use
- Send an email:
- Use
send_messagewithinbox_id,to,subject,text
- Use
- Check for replies:
- Use
list_threadsto see incoming conversations - Use
get_threadto read a specific thread
- Use
Check incoming email
- Use
list_inboxesto find your inbox ID - Use
list_threadswith the inbox ID to see conversations - Use
get_threadto read a thread and its messages
Reply to an email
- Get the thread with
get_thread - Use
reply_to_messagewith the message ID and your reply text
Example Workflows
Sign up for a service:
1. create_inbox (username: "signup-bot")
2. Use the inbox address to register on the service
3. list_threads to check for verification email
4. get_thread to read the verification code
Agent-to-human outreach:
1. create_inbox (username: "hermes-outreach")
2. send_message (to: [email protected], subject: "Hello", text: "...")
3. list_threads to check for replies
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-agungprabowo123-agentmail-2": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
verified-agent-identity
Billions/Iden3 authentication and identity management tools for agents. Link, proof, sign, and verify.
blackbox
Delegate coding tasks to Blackbox AI CLI agent. Multi-model agent with built-in judge that runs tasks through multiple LLMs and picks the best result. Requires the blackbox CLI and a Blackbox AI API key.
solana
Query Solana blockchain data with USD pricing — wallet balances, token portfolios with values, transaction details, NFTs, whale detection, and live network stats. Uses Solana RPC + CoinGecko. No API key required.
openclaw-migration
Migrate a user's OpenClaw customization footprint into Hermes Agent. Imports Hermes-compatible memories, SOUL.md, command allowlists, user skills, and selected workspace assets from ~/.openclaw, then reports exactly what could not be migrated and why.