Mailing Manager MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
๐ง Mailing Manager MCP (v1.1.0)
Enterprise-grade Multi-Account Email Orchestration powered by Model Context Protocol
๐ Overview
Mailing Manager MCP is the most advanced, secure, and production-ready Model Context Protocol (MCP) server for email management. Designed for AI agents (Gemini, Claude, GPT), it transforms your mailboxes into a structured, searchable, and intelligent memory bank.
It allows AI assistants like Claude and Cursor to manage multiple email accounts with advanced features while keeping your credentials ultra-secure.
Related MCP server: IMAP MCP Server
๐ Killer Features
๐ Universal Secure Handshake (A+B+C)
Configure any account safely across any environment:
Method A (Local): Fast setup via local browser.
Method B (Direct): Quick injection for trusted environments.
Method C (Public Tunnel): Configures remote clients (n8n, mobile) via secure temporary SSH tunnels (Pinggy).
๐ง FTS5 Local AI Memory
Don't let your AI drown in tokens. Mailing Manager syncs your emails to a Local SQLite Full-Text Search (FTS5) table:
Instant Search: Sub-millisecond lookups across all accounts.
Token Optimization: Extracts clean text, removing heavy HTML and technical headers.
Attachment Awareness: The AI sees what's available to download without fetching binaries.
๐ Delta Synchronization
Intelligent incremental sync logic that only fetches what's new.
Performance: Syncs newest first and stops at the last known email.
Control: Configurable limits (Default 30, Max 100 per session).
Sync Status: View last synced UID, total count, and date range with
get_sync_status.Reset Sync: Clear local cache and force full re-sync with
reset_sync.
๐งต Thread-Aware Intelligence (v1.1.0)
Smart conversation threading for context-rich AI replies:
Thread Detection: Auto-detects conversations via
Message-ID,In-Reply-To, andReferencesheaders.Thread Fetching:
get_email_threadretrieves all emails in a conversation chronologically.Thread Summary:
get_thread_summarygenerates condensed summaries (key participants, topic, timeline).Auto-Context Injection: Reply with
thread_aware: trueto automatically inject thread history into your reply body.
๐ 360ยฐ Activity Audit
Full transparency for both the user and the AI. Every action is logged in a dedicated activity journal:
Read/Sent: Know exactly what was accessed or dispatched.
Sync/Download: Track background memory updates and file transfers.
Task/Directive: Monitor automated workflows.
๐ Installation
Option 1: Global Install (NPM)
npm install -g @tatine13/mcp-managerOption 2: Local Install (Development)
git clone https://github.com/Tatine13/mailing-manager-mcp.git
cd mailing-manager-mcp
npm install
npm run build๐๏ธ First-Time Setup
Create your encryption password (used to secure your local SQLite DB):
# Set your unlock code in your environment
export MAILING_MANAGER_UNLOCK_CODE="your-secure-password"
# Run the setup wizard
mailing-manager setup
# (Or 'node dist/bin/cli.js setup' if running locally)โ๏ธ Configuration
Add Mailing Manager to your MCP client (Gemini CLI, Claude Desktop, or Cursor).
A. Using NPM (Easiest)
{
"mcpServers": {
"mailing-manager": {
"command": "npx",
"args": ["-y", "@tatine13/mcp-manager", "server"],
"env": {
"MAILING_MANAGER_UNLOCK_CODE": "your-secure-password",
"MAILING_MANAGER_SYNC_LIMIT": "50",
"LOG_LEVEL": "info"
}
}
}
}B. Using Local Build
{
"mcpServers": {
"mailing-manager": {
"command": "node",
"args": ["/ABS_PATH_TO_PROJECT/dist/bin/server.js"],
"env": {
"MAILING_MANAGER_UNLOCK_CODE": "your-secure-password",
"MAILING_MANAGER_SYNC_LIMIT": "50"
}
}
}
}๐ฌ Multi-Account Support
Unlimited email accounts
Provider Presets: Gmail, Outlook, Yahoo, iCloud, Fastmail, Custom
Authentication Methods: App Passwords, Password (OAuth2 support planned for v1.5)
Protocols: IMAP, SMTP with TLS
๐ ๏ธ Available Tools (38)
๐ค Account & Provider Management
Tool | Description |
| Add a new email account via Direct, Local or Public tunnel. |
| List all configured email accounts. |
| Remove an email account. |
| Test the connection to an email account. |
| Add or update an email provider preset. |
| List all available email provider presets. |
| Check if the server vault is unlocked and ready. |
๐ง Email Operations (IMAP/SMTP)
Tool | Description |
| List emails from an account folder. |
| Read full clean content (No Base64 spam). |
| Send email (supports local attachments, thread-aware replies). |
| Search emails across folders (Online). |
| Get all emails in a conversation thread (via Message-ID/References). |
| Get a condensed thread summary for AI context. |
| Move an email to another folder. |
| Delete an email. |
| Download attachment to local assets. |
๐ง Local Memory & Audit
Tool | Description |
| Pull recent emails into local FTS5 database. |
| Fast offline search in synced emails (FTS5). |
| View sync state (last UID, total count, date range). |
| Clear local cache and force full re-sync. |
| History of all actions (read, sent, sync, download). |
| Get server version and environment info. |
๐ญ AI Personas
Tool | Description |
| Create a new AI persona for automated handling. |
| List all personas for an account. |
| Update an existing persona. |
| Delete a persona. |
๐ Automation Directives
Tool | Description |
| Create an automation directive (rule). |
| List directives for an account. |
| Test which directives match a specific email. |
| Delete a directive. |
โ๏ธ Scheduled Tasks
Tool | Description |
| Create a scheduled task (Cron/Interval). |
| List all tasks. |
| Manually execute a task immediately. |
| Delete a task. |
๐ Webhooks
Tool | Description |
| Create an endpoint to receive external webhooks. |
| Create a webhook to notify external systems. |
| List configured webhooks. |
| View execution logs for a webhook. |
๐ก๏ธ Security First
AES-256-GCM: Credentials are never stored in plaintext.
Argon2id: Military-grade key derivation.
Vault Architecture: Non-blocking protocol stability.
Secure Input: Browser-based ephemeral security portal.
๐ License
MIT ยฉ Tatine13
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
Related MCP Connectors
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Stateful email for AI agents: read inboxes, reply in-thread, draft with approval.
Email inboxes for AI agents: send, receive, search, drafts with owner approval, and webhooks.
Give AI agents secure access to your email via private aliases with dedicated mailbox storage.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search, retrieve, and send email across multiple ordinary IMAP, POP3, and SMTP mailboxes, with per-account permissions and safe sending checks.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to manage multiple email accounts over IMAP and SMTP: searching, reading, sending, replying, forwarding, organizing, and bulk-deleting messages across folders. Credentials are stored with AES-256 encryption plus connection pooling, and setup is handled through a web wizard with presets for 15+ providers.1,044 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to manage multiple email accounts, including searching, reading, sending, organizing, and deleting messages, with secure encrypted credential storage and connection pooling.1,044 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search, read, send, reply to, organize, and bulk-delete email across multiple mailboxes, with automatic SMTP configuration, connection pooling, and AES-256-encrypted credential storage. It also lets users manage accounts and folders, check unread counts, and inject secrets at runtime via environment variables.1,044 npmMIT