You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentMail is a YC-backed (W25), SOC 2 Type II certified API-first email platform designed specifically for AI agents. Unlike traditional email (Gmail, Outlook) where the agent borrows the user's inbox, AgentMail gives agents their own dedicated inboxes — the agent gets a real email address (e.g., hermes-agent@agentmail.to) and can send, receive, and manage email autonomously.
This is not a replacement for our existing email solutions (himalaya for IMAP/SMTP, Google Workspace for Gmail API). Those let the agent operate the user's personal email. AgentMail is a new capability: agent identity and autonomous email communication. Use cases include agent-to-human outreach, agent-to-agent messaging, automated support workflows, email-based authentication, and service sign-ups.
Not a tool — No custom Python integration needed. Hermes's built-in native MCP support (tools/mcp_tool.py) already handles tool discovery, registration, API key passthrough, reconnection, and credential sanitization. Adding AgentMail is a config.yaml entry, not new code.
A skill — The value-add is setup documentation, usage patterns, and workflow examples for the 11 MCP tools that auto-register once configured.
Not bundled — Per CONTRIBUTING.md: "If your skill is specialized (a niche engineering tool, a specific SaaS integration, a game), it's better suited for a Skills Hub." AgentMail is a specific third-party SaaS integration, not broadly useful to all users. → Skills Hub candidate.
Research Findings
How AgentMail Works
AgentMail provides a REST API (base URL: https://api.agentmail.to/v0/) with Python and Node SDKs, plus an MCP server (npx -y agentmail-mcp).
Core concepts:
Inboxes — Create/delete on-demand via API. Each inbox = a real email address. Default domain @agentmail.to, or custom domains on paid plans.
Threads — Email conversations grouped automatically. Support labels, filtering by date.
Messages — Send, reply, forward with text/HTML bodies and attachments.
Overview
AgentMail is a YC-backed (W25), SOC 2 Type II certified API-first email platform designed specifically for AI agents. Unlike traditional email (Gmail, Outlook) where the agent borrows the user's inbox, AgentMail gives agents their own dedicated inboxes — the agent gets a real email address (e.g.,
hermes-agent@agentmail.to) and can send, receive, and manage email autonomously.Source: Google ADK AgentMail integration docs, AgentMail docs, agentmail-mcp repo.
This is not a replacement for our existing email solutions (himalaya for IMAP/SMTP, Google Workspace for Gmail API). Those let the agent operate the user's personal email. AgentMail is a new capability: agent identity and autonomous email communication. Use cases include agent-to-human outreach, agent-to-agent messaging, automated support workflows, email-based authentication, and service sign-ups.
Skill vs Tool vs Bundled?
Per CONTRIBUTING.md:
tools/mcp_tool.py) already handles tool discovery, registration, API key passthrough, reconnection, and credential sanitization. Adding AgentMail is a config.yaml entry, not new code.Research Findings
How AgentMail Works
AgentMail provides a REST API (base URL:
https://api.agentmail.to/v0/) with Python and Node SDKs, plus an MCP server (npx -y agentmail-mcp).Core concepts:
@agentmail.to, or custom domains on paid plans.message.received,message.sent,message.delivered,message.bounced,message.complained,message.rejected,domain.verified).MCP Server provides 11 tools (auto-registered by Hermes's native MCP support):
list_inboxes,get_inbox,create_inbox,delete_inboxlist_threads,get_threadsend_message,reply_to_message,forward_message,update_messageget_attachmentAuthentication: Simple API key (prefix
am_). No OAuth complexity.Pricing (free tier available):
Key Design Decisions
client_idparameter prevents duplicate inboxes/webhooks on re-runs.Current State in Hermes Agent
We have two existing email solutions, neither of which provides agent-owned identity:
Verified: Adding this to
~/.hermes/config.yamlauto-discovers and registers all 11 tools as first-class agent tools:No codebase changes needed at all.
Implementation Plan
What We'd Need
npx -y agentmail-mcp)mcpPython package installed (Hermes optional dependency)Deliverable: Skills Hub Skill
Create an
agentmailskill for the Skills Hub (not bundled) containing:Potential Future Enhancements (beyond the skill)
hermes setup(relates to Feature: Interactive tool selection during initial setup #322).Pros & Cons
Pros
Cons / Risks
@agentmail.todomain — Free tier emails may look unfamiliar to recipients. Custom domains require paid plans.Open Questions
References