AgentMail MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AgentMail MCP Servercreate a new inbox for testing email notifications"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgentMail MCP Server
This is a Model Context Protocol (MCP) server that provides tools for creating email inboxes and sending emails using the AgentMail API.
Features
Create Inbox: Create new email inboxes with optional domain specification
Send Email: Send emails from any created inbox with support for both text and HTML content
Related MCP server: qmailing MCP server
Setup
Install dependencies:
npm installGet your AgentMail API key from https://agentmail.com
Update the
smithery.yamlfile with your API key:runtime: typescript config: agentmailApiKey: "your-actual-api-key-here"
Available Tools
create_inbox
Creates a new email inbox.
Parameters:
domain(optional): Domain for the inbox
Example:
{
"name": "create_inbox",
"arguments": {
"domain": "example.com"
}
}send_email
Sends an email from a specified inbox.
Parameters:
inboxId: ID of the inbox to send fromto: Recipient email addresssubject: Email subjecttext: Email body texthtml(optional): HTML version of the email
Example:
{
"name": "send_email",
"arguments": {
"inboxId": "inbox_123",
"to": "recipient@example.com",
"subject": "Hello from AgentMail!",
"text": "This is a test email sent via the MCP server."
}
}Running the Server
npm run devError Handling
Both tools include comprehensive error handling and will return descriptive error messages if operations fail. Common issues include:
Invalid API key
Network connectivity problems
Invalid inbox ID
Malformed email addresses
Dependencies
@modelcontextprotocol/sdk: MCP server implementationagentmail: AgentMail API clientzod: Schema validation@smithery/cli: Development tools
This server cannot be deployed
Maintenance
Related MCP Connectors
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
1Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
Task-scoped email inboxes for AI agents: read mail, extract verification codes, and reply.
Disposable inboxes for AI agents: create, wait for delivery, and extract email content or links.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI agents to create temporary email addresses, receive confirmation emails, and extract verification links, automating sign-up and email verification workflows without manual intervention.616 npm61MIT
- AlicenseAqualityDmaintenanceEnables AI agents to manage email mailboxes, send and receive emails, and handle webhooks via qmailing.1250 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with email accounts via IMAP and SMTP, supporting mailbox listing, email search, retrieval, sending, and management.MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to generate temporary email addresses, check inboxes, and read messages using the 1TempMail API.34 npmMIT