mcp-email-sender
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., "@mcp-email-sendervalidate email user@example.com"
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.
MCP Email Sender — Email Validation & SMTP for AI Agents
An MCP (Model Context Protocol) server that gives AI agents the ability to validate email addresses, check MX records, detect disposable/role-based emails, and send emails via SMTP — all with zero external dependencies.
Features
8 MCP Tools:
validate_email,validate_email_batch,check_mx_records,is_disposable,is_role_based,send_email,send_email_batch,test_smtp_connectionZero dependencies — pure Python stdlib (smtplib, email, re, socket)
Email validation — format check, disposable detection, role-based detection, MX record lookup
Batch operations — validate or send multiple emails in one call
SMTP support — TLS, SSL, plain, with CC/BCC/Reply-To
STDIO JSON-RPC mode — drop-in for Claude Desktop, Hermes, or any MCP client
Environment-based config — SMTP credentials from env vars or tool args
Related MCP server: mcp-emailjs
Quick Start
# STDIO mode (for MCP clients)
python -m src.server --stdio
# Print manifest
python -m src.server --manifestUse as a library
from src.server import MCPEmailServer
import json
server = MCPEmailServer()
# Validate email
result = server.handle_tool_call("validate_email", {"email": "user@gmail.com"})
print(json.loads(result)) # {"valid_format": true, "overall_valid": true, ...}
# Batch validate
result = server.handle_tool_call("validate_email_batch", {
"emails": ["user@gmail.com", "test@mailinator.com", "bad-email"]
})
# Send email
result = server.handle_tool_call("send_email", {
"to": "recipient@example.com",
"subject": "Hello from AI",
"body": "This email was sent by an AI agent via MCP.",
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"smtp_username": "your@gmail.com",
"smtp_password": "app-password",
"use_tls": True
})MCP Tool Reference
Tool | Description | Required Params |
| Full validation (format, disposable, role, MX) |
|
| Batch validate multiple emails |
|
| MX records for a domain |
|
| Check if disposable email service |
|
| Check if role-based (admin@, info@) |
|
| Send via SMTP |
|
| Send multiple emails |
|
| Test SMTP server connection | — |
SMTP Configuration
Set via environment variables or pass in tool args:
export SMTP_HOST=smtp.gmail.com
export SMTP_PORT=587
export SMTP_USERNAME=your@gmail.com
export SMTP_PASSWORD=your-app-password
export SMTP_TLS=trueIntegration with Claude Desktop
{
"mcpServers": {
"email-sender": {
"command": "python",
"args": ["-m", "src.server", "--stdio"],
"cwd": "/path/to/mcp-email-sender",
"env": {
"SMTP_HOST": "smtp.gmail.com",
"SMTP_PORT": "587",
"SMTP_USERNAME": "your@gmail.com",
"SMTP_PASSWORD": "your-app-password",
"SMTP_TLS": "true"
}
}
}
}Tests
python -m pytest tests/ -v # 37 tests, all passingLicense
MIT
Author
aaameobius-crypto — github.com/aaameobius-crypto
Freelance portfolio: https://ameobius-space.github.io/kwork-portfolio/
This server cannot be deployed
Maintenance
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
MCP server for e-mail testing: create disposable inboxes, wait for delivery, and extract e-mail content or links - all from your AI agent or test automation workflow. Get a free API key on https://app.zyntra.app/
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to send emails via SMTP, supporting simple and custom emails with attachments and CC/BCC, plus connection testing.328MIT
- AlicenseAqualityCmaintenanceAn MCP server for EmailJS that enables AI agents to send emails, validate configurations, and query email history through natural language.39 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server that empowers AI agents to securely send emails via SMTP, supporting plain text, HTML, and attachments.MIT
- AlicenseNot gradedqualityCmaintenanceA self-hosted MCP server that gives AI agents full email superpowers.1MIT