MailMCP
Click on "Install 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., "@MailMCPshow me unread emails from today"
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.
MailMCP
MCP-Server für den Zugriff auf ein E-Mail-Postfach via IMAP/SMTP. Geschrieben in Node.js / TypeScript. Läuft als stdio-Prozess direkt auf dem Host.
Features
Alle Ordner des Postfachs auflisten
E-Mails in einem beliebigen Ordner auflisten (neuste zuerst)
Vollständigen Inhalt einer E-Mail lesen (Text, HTML, Anhänge)
E-Mails nach Betreff, Absender oder Body durchsuchen
E-Mail in anderen Ordner verschieben
E-Mails senden (inkl. CC, BCC, HTML, Anhänge als Base64)
Lokale Datei direkt als E-Mail-Anhang versenden
Konfigurierbarer INBOX-Ordner
Related MCP server: IMAP/SMTP Email MCP Server
Verfügbare Tools
Tool | Beschreibung |
| Alle IMAP-Ordner auflisten |
| E-Mails in einem Ordner auflisten (mit Filter: ungelesen) |
| Vollständige E-Mail per UID lesen |
| E-Mails nach Stichwort durchsuchen |
| E-Mail in anderen Ordner verschieben |
| E-Mail senden (To, Subject, Text, optional CC/BCC/HTML/Anhänge als Base64) |
| Lokale Datei vom Host-Dateisystem als Anhang versenden |
| Aktuelle Serverkonfiguration anzeigen |
Setup
1. Abhängigkeiten installieren & bauen
npm install
npm run build2. Konfiguration
cp .env.example .envWerte in .env anpassen:
Variable | Beschreibung | Standard |
| IMAP-Server | – |
| IMAP-Port |
|
| IMAP SSL |
|
| E-Mail-Adresse | – |
| Passwort | – |
| Standard-Posteingang |
|
| Max. E-Mails pro Abfrage |
|
| SMTP-Server | – |
| SMTP-Port |
|
| SMTP SSL (true = Port 465) |
|
| Absendername | – |
Die .env-Datei wird automatisch geladen — es sind keine Umgebungsvariablen im MCP-Client nötig.
MCP-Integration (mcporter / Claude / VS Code)
{
"mcpServers": {
"mailmcp": {
"command": "node /pfad/zu/mailmcp/dist/server.js"
}
}
}Dateistruktur
mailmcp/
├── src/
│ ├── server.ts # MCP Server & Tool-Definitionen
│ ├── imap-client.ts # IMAP-Verbindung & E-Mail-Parsing
│ ├── smtp-client.ts # SMTP-Versand via nodemailer
│ └── config.ts # Konfiguration via .env
├── package.json
├── tsconfig.json
├── .env # Credentials (nicht einchecken!)
├── .env.example
└── .gitignoreThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI assistants to read, search, compose, and send emails by connecting to any IMAP/SMTP provider. It supports comprehensive mailbox management, including draft handling and message deletion, directly through natural language.Last updated101978MIT
- Flicense-qualityBmaintenanceEnables email management via IMAP/SMTP, supporting list emails, read emails, send emails, and save drafts.Last updated
- Alicense-qualityDmaintenanceEnables AI agents to interact with email accounts via IMAP and SMTP, supporting mailbox listing, email search, retrieval, sending, and management.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI assistants to send, read, and manage emails via SMTP and IMAP, with support for attachments, threads, and mailbox organization.Last updated591MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moellerm1968/localEmailMCPServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server