AgentMailServer

agentmail-to
GitHub
email managementAI integrationMCP server

Loading subscription status...

💡 Description

A simple Model Context Protocol (MCP) server that integrates with AgentMail to dynamically manage email inboxes, list messages, and send or reply to emails—all through an AI assistant such as Claude. This server allows AI agents to create inboxes on the fly to send, receive, and take action on emails.

📝 JSON Entries

{
  "mcpServers": [
    {
      "agentmail-mcp": {
        "args": [
          "--api-key",
          "{AGENT_MAIL_API_KEY}"
        ],
        "command": "/path/to/agentmail-mcp"
      }
    }
  ]
}

🛠️ Tools

sendMessagegetMessagegetInboxreplyToMessagecreateInboxlistMessageslistInboxeslistThreads

Features

  • Create new inboxes dynamically
  • List and retrieve inboxes
  • Send emails from AgentMail inboxes
  • Reply to messages within existing threads
  • List threads and messages for a chosen inbox
  • Retrieve attachments for messages

💬 Example Queries

  • Create a new inbox named demo.
  • List all my inboxes.
  • Send an email from inbox test@agentmail.to to test@example.com with subject 'Hello' and body explaining the weather in San Francisco for the past week.
  • Reply to the most recent message in inbox abc123.