Email Automation MCP
This MCP server provides an email toolkit for sending, reading, searching, drafting, and organizing mail via SMTP/IMAP.
Send emails with
send_emailvia SMTP, including to/cc/bcc, subject, body, and HTML support; defaults to a preview unlessconfirm=False.Read recent emails with
read_inboxfrom a chosen IMAP folder, with a configurable limit.Search emails with
search_emailsby sender, subject, recipient, unread/flagged status, or full-text query.Create draft emails with
create_draftwithout sending them.List available mailbox folders with
list_foldersto discover folder names for reading/searching.Use with standard email providers such as Gmail, Outlook, Yahoo, Fastmail, and other SMTP/IMAP providers.
Allows sending and reading emails via Gmail's SMTP/IMAP protocols.
Email Automation MCP
Email toolkit via SMTP/IMAP: send emails, read inbox, search, create drafts, and list folders
Email toolkit via SMTP/IMAP: send emails, read inbox, search, create drafts, and list folders. Works with Gmail, Outlook, Yahoo, Fastmail, and any standard provider. By MEOK AI Labs.
š Quick Start
# Install via pip
pip install email_automation_mcp
# Or install via Smithery
npx -y @smithery/cli@latest install email-automation-mcp --client claudeRelated MCP server: Email MCP Server
⨠Features
MCP protocol compliant
Easy installation
Well-documented API
Production-ready
Active maintenance
š Documentation
š”ļø Compliance
This MCP server is built with EU AI Act compliance built-in:
ā Article 9 ā Risk Management System
ā Article 13 ā Transparency & Instructions for Use
ā Article 15 ā Bias Detection & Testing
ā Article 26 ā FRIA Support (where applicable)
ā Article 50 ā AI Content Watermarking (where applicable)
Need help getting compliant? Book a free 15-min diagnostic ā
How MEOK charges
MEOK has no subscriptions and no tiers. You pay per job, and only when the agreed artifact has been delivered to you. There is no public price list. See https://meok.ai/pricing.
This repository's source is MIT-licensed and free to self-host.
š¤ Part of the MEOK Ecosystem
This server is part of the MEOK AI Labs ecosystem ā 300+ MCP servers for sovereign AI governance.
Domain | Purpose |
EU AI Act compliance marketplace | |
AI safety & monitoring | |
Sovereign AI platform | |
Legacy modernization |
š License
MIT Ā© CSOAI-ORG
Pairs with MEOK Governance Suite
Build something that touches users? You need compliance. MEOK ships 38 governance MCPs that drop in alongside this tool ā EU AI Act, DORA, NIS2, CRA, GDPR, ISO 42001, FDA SaMD, MDR, Basel, MiFID II, MiCA, COPPA, and more.
# One-shot install of the governance pack
npx meok-setup --pack governanceā Full catalogue: councilof.ai ā MEOK AI Labs: meok.ai
Configuration
Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:
{
"mcpServers": {
"email-automation-mcp": {
"command": "uvx",
"args": ["email-automation-mcp"]
}
}
}Or: pip install email-automation-mcp then run the email-automation-mcp command (stdio transport).
Examples
Once configured, ask your assistant, for example:
"Use
send_emailto ā¦""Use
read_inboxto ā¦""Use
search_emailsto ā¦"
See also
MEOK compliance MCP fleet:
email-validator-ai-mcp
Available Tools
5 toolscreate_draftC
Save an email as a draft without sending it. The draft appears in your Drafts folder and can be sent later from your email client.
Args: to: Recipient email address subject: Email subject body: Email body text
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
Inputs: to (required), subject (required), body (required), api_key.
list_foldersB
List all mailbox folders (INBOX, Sent, Drafts, etc.) available on the IMAP server. Useful for discovering folder names before reading or searching.
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
Inputs: api_key.
read_inboxA
Read recent emails from a mailbox folder. Returns subject, from, date, and body preview for each message.
Args: folder: IMAP folder name (default: INBOX) limit: Max emails to return (default: 10, max: 25)
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
Inputs: folder, limit, api_key.
search_emailsA
Search emails in a folder. Supports these query formats:
Email address: searches FROM field
'subject:keyword': searches subject
'from:name': searches sender
'to:name': searches recipient
'unread' or 'unseen': unread messages only
'flagged' or 'starred': flagged messages
Any other text: full-text search
Args: query: Search query folder: IMAP folder to search (default: INBOX) limit: Max results (default: 10, max: 25)
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
Inputs: query (required), folder, limit, api_key.
send_emailC
Send an email via SMTP. Requires EMAIL_ADDRESS and EMAIL_PASSWORD env vars.
Safety: Set confirm=False to actually send. When confirm=True (default), returns a preview without sending so the user can verify before dispatch.
Args: to: Recipient email address (comma-separated for multiple) subject: Email subject line body: Email body (plain text or HTML) html: Set True if body is HTML cc: CC recipients (comma-separated) bcc: BCC recipients (comma-separated) confirm: If True, preview only (does not send). Set False to send.
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
Inputs: to (required), subject (required), body (required), html, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 5 tools
Each tool targets a distinct action: creating drafts, listing folders, reading inbox, searching emails, and sending emails. No functional overlap exists, and descriptions clearly differentiate their purposes despite boilerplate content.
All tool names follow a consistent verb_noun pattern using snake_case: create_draft, list_folders, read_inbox, search_emails, send_email. No mixing of styles or irregular naming.
Five tools is well-scoped for an email automation server. Each tool covers a core operation (draft, list, read, search, send) without redundancy or missing essentials for basic usage.
The tool set covers the primary email workflow: draft creation, folder discovery, inbox reading, search, and sending. However, common operations like deleting emails, marking as read/unread, or moving messages are absent, creating minor gaps.
Maintenance
Related MCP Connectors
E-Commerce Email Marketing, AI Newsletter Studio, DNS Audit & AWS SES Deliverability MCP.
Email infrastructure for AI agents ā send, receive, search, and reply to email over MCP.
AI-controlled email ops for campaigns, contacts, segments, analytics, and sending.
Sequenzy MCP server for AI-powered email marketing automation.
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP-based email tool that enables AI models to access email services through standardized interfaces, allowing AI assistants to perform various email operations like sending emails, reading inboxes, and handling attachments.1751ISC
- AlicenseBqualityCmaintenanceAn MCP service that enables AI to fully manage email accounts, supporting sending emails with attachments and multiple recipients across various email providers.7619 npm95MIT
- AlicenseNot gradedqualityCmaintenanceEmail Validator AI - MCP server providing AI-powered tools and automation by MEOK AI Labs3 npm40 PyPIMIT
- AlicenseAqualityCmaintenanceAn MCP server providing comprehensive email capabilities via IMAP and SMTP, enabling AI assistants to read, search, send, manage, schedule, and analyze emails across multiple accounts.521,007 npm161LGPL 3.0