Agent skill

agentmail

Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. hermes-agent@agentmail.to).

Stars 56,643
Forks 7,481

Install this agent skill to your Project

npx add-skill https://github.com/NousResearch/hermes-agent/tree/main/optional-skills/email/agentmail

Metadata

Additional technical details for this skill

hermes
{
    "tags": [
        "email",
        "communication",
        "agentmail",
        "mcp"
    ],
    "category": "email"
}

SKILL.md

AgentMail — 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

2. Configure MCP Server

Add to ~/.hermes/config.yaml (paste your actual key — MCP env vars are not expanded from .env):

yaml
mcp_servers:
  agentmail:
    command: "npx"
    args: ["-y", "agentmail-mcp"]
    env:
      AGENTMAIL_API_KEY: "am_your_key_here"

3. Restart Hermes

bash
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

  1. Create a dedicated inbox:
    • Use create_inbox with a username (e.g. hermes-agent)
    • The agent gets address: hermes-agent@agentmail.to
  2. Send an email:
    • Use send_message with inbox_id, to, subject, text
  3. Check for replies:
    • Use list_threads to see incoming conversations
    • Use get_thread to read a specific thread

Check incoming email

  1. Use list_inboxes to find your inbox ID
  2. Use list_threads with the inbox ID to see conversations
  3. Use get_thread to read a thread and its messages

Reply to an email

  1. Get the thread with get_thread
  2. Use reply_to_message with 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: user@example.com, subject: "Hello", text: "...")
3. list_threads to check for replies

Pitfalls

  • Free tier limited to 3 inboxes and 3,000 emails/month
  • Emails come from @agentmail.to domain on free tier (custom domains on paid plans)
  • Node.js (18+) is required for the MCP server (npx -y agentmail-mcp)
  • The mcp Python package must be installed: pip install mcp
  • Real-time inbound email (webhooks) requires a public server — use list_threads polling via cronjob instead for personal use

Verification

After setup, test with:

hermes --toolsets mcp -q "Create an AgentMail inbox called test-agent and tell me its email address"

You should see the new inbox address returned.

References

Expand your agent's capabilities with these related and highly-rated skills.

NousResearch/hermes-agent

base

Query Base (Ethereum L2) blockchain data with USD pricing — wallet balances, token info, transaction details, gas analysis, contract inspection, whale detection, and live network stats. Uses Base RPC + CoinGecko. No API key required.

56,643 7,481
Explore
NousResearch/hermes-agent

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.

56,643 7,481
Explore
NousResearch/hermes-agent

one-three-one-rule

Structured decision-making framework for technical proposals and trade-off analysis. When the user faces a choice between multiple approaches (architecture decisions, tool selection, refactoring strategies, migration paths), this skill produces a 1-3-1 format: one clear problem statement, three distinct options with pros/cons, and one concrete recommendation with definition of done and implementation plan. Use when the user asks for a "1-3-1", says "give me options", or needs help choosing between competing approaches.

56,643 7,481
Explore
NousResearch/hermes-agent

fastmcp

Build, test, inspect, install, and deploy MCP servers with FastMCP in Python. Use when creating a new MCP server, wrapping an API or database as MCP tools, exposing resources or prompts, or preparing a FastMCP server for Claude Code, Cursor, or HTTP deployment.

56,643 7,481
Explore
NousResearch/hermes-agent

qdrant-vector-search

High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

56,643 7,481
Explore
NousResearch/hermes-agent

nemo-curator

GPU-accelerated data curation for LLM training. Supports text/image/video/audio. Features fuzzy deduplication (16× faster), quality filtering (30+ heuristics), semantic deduplication, PII redaction, NSFW detection. Scales across GPUs with RAPIDS. Use for preparing high-quality training datasets, cleaning web data, or deduplicating large corpora.

56,643 7,481
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results