Hermes Agent & OpenClaw Guide
Give Hermes Agent or OpenClaw a real email inbox.
Connect your persistent personal agent to a dedicated @theagentmail.net mailbox over Streamable HTTP MCP or our standard AgentSkill. Scoped per-mailbox keys, real-time AI spam filtering, $1/month flat, 100% MIT open source.
1. Mint an account-scoped API key
Create your free 30-day inbox at theagentmail.net/app, click API Key on that mailbox, and export it as AGENTMAIL_KEY. Account-scoped keys can only read and send from that one mailbox.
2. Hermes Agent: native remote MCP (recommended)
Hermes Agent has a built-in Streamable HTTP MCP client. Add six lines to ~/.hermes/config.yaml and your agent gets get_mailbox, list_messages, get_message, send_email, attachment URLs, and webhook tools automatically:
# ~/.hermes/config.yaml
mcp_servers:
agentmail:
url: https://api.theagentmail.net/mcp
headers:
Authorization: "Bearer ${AGENTMAIL_KEY}"3. OpenClaw / Hermes / Claude Code: install the AgentSkill
Prefer skill-driven HTTP calls or webhooks? Install the theagentmail skill from GitHub or our well-known endpoint:
# Install the AgentSkill in Hermes Agent, OpenClaw, Claude Code, or Cursor
npx skills add uriva/agentmail --skill theagentmail# Or install directly from theagentmail.net well-known skills endpoint
hermes skills install https://theagentmail.netBuilt for persistent autonomous agents
- Exact reply threading (
inReplyTo+references) so Gmail and Outlook keep conversations in one thread. - HMAC-SHA256 signed
email.receivedwebhooks for event-driven agent wakes without IMAP polling. - $1/month per active mailbox ($5 prepaid balance never expires) vs $200/mo platform tiers. Full OTP/verification delivery unlocks with your first $5 deposit.