Private, EU-hosted email for AI agents — read, search, reply and send over MCP (JMAP).
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/lettio-eu/mcp{
"mcpServers": {
"mcp": {
"command": "node",
"args": ["/path/to/mcp/dist/index.js"],
"env": {
"LETTIO_USERNAME": "<lettio_username>",
"LETTIO_PASSWORD": "<lettio_password>"
}
}
}
}LETTIO_USERNAMELETTIO_PASSWORDResumen de MCP Servers
# Lettio MCP
**Let your AI assistant read, search and send email from a private, EU-hosted mailbox.**
Lettio MCP is a [Model Context Protocol](https://modelcontextprotocol.io) server that connects
an AI agent (Claude, Cursor, and any other MCP client) to a [Lettio](https://lettio.eu)
mailbox over [JMAP](https://jmap.io). Your assistant can triage your inbox, find a message,
and send a reply — without your email ever leaving Europe.
- 🇪🇺 **European by default** — talks to your own EU-hosted mailbox, no third‑party middleman.
- 🔒 **Safe sending** — the server can only ever send *as the mailbox it is signed in to*. It
cannot be tricked into sending from another address.
- 📬 **Everything an agent needs** — list, search, read and send, over the open JMAP standard.
- 👥 **One or many mailboxes** — configure a single account or several.
> Prefer nothing to install? Lettio also runs as a **hosted, OAuth‑secured** MCP server at
> `https://mcp.lettio.eu/mcp` — add that URL in your client and sign in. This npm package is the
> **local / self‑hosted** option for people who want to run it on their own machine.
## Tools
| Tool | What it does |
|------|--------------|
| `list_accounts` | List the mailboxes this server is configured for. |
| `list_mailboxes` | List folders in an account, with message and unread counts. |
| `list_recent_emails` | Most recent messages in a mailbox (defaults to the inbox). |
| `search_emails` | Free‑text search across sender, subject and body. |
| `read_email` | Full content of one message by id. |
| `send_email` | Send a plain‑text email **as the signed‑in mailbox**. |
| `reply_email` | Reply in‑thread (keeps the conversation), optionally reply‑all. |
| `set_read_status` | Mark a message read or unread. |
| `flag_email` | Flag (star) or unflag a message. |
| `move_email` | Move to a folder — `archive`, `trash` (reversible), or a folder name. |
## Requirements
- Node.js 18 or newer.
- A Lettio mailbox and an **app password** for it (use a dedicated app password, not your main login).
## Use with Claude Desktop
Add this to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"lettio": {
"command": "npx",
"args": ["-y", "@lettio/mcp"],
"env": {
"LETTIO_USERNAME": "you@yourcompany.eu",
"LETTIO_PASSWORD": "your-app-password"
}
}
}
}
```
Restart Claude Desktop; the Lettio tools appear in the tools menu.
## Configuration
Configured entirely through environment variables.
### Single mailbox
| Variable | Required | Description |
|----------|----------|-------------|
| `LETTIO_USERNAME` | yes | Full email address, e.g. `you@yourcompany.eu`. |
| `LETTIO_PASSWORD` | yes | Mailbox **app password**. |
| `LETTIO_HOST` | no | Mail host. Defaults to `https://mail.lettio.eu`. |
| `LETTIO_ACCOUNT_NAME` | no | Friendly name for the account (default: the username). |
### Several mailboxes
Set `LETTIO_ACCOUNTS` to a JSON array and omit the single‑account variables:
```json
[
{ "name": "work", "username": "you@yourcompany.eu", "password": "app-password" },
{ "name": "sales", "username": "sales@yourcompany.eu", "password": "app-password" }
]
```
Then pass `account: "work"` to any tool to choose which mailbox to use.
## Security
Sending is deliberately constrained. Before it sends, the server asks the mail host for the
identities the signed‑in mailbox is allowed to use and requires one that matches the login
address. The `From` header **and** the SMTP envelope `MAIL FROM` are both pinned to that
address. There is no parameter for choosing a different sender, so an agent can never send
"from" a foreign or arbitrary mailbox. Credentials are read from the environment, kept only in
memory, and never logged.
## Run from source
```bash
npm install
npm run build
LETTIO_USERNAME=you@yourcompany.eu LETTIO_PASSWORD=app-password npm start
```
## License
[MIT](./LICENSE) © Valmia Solutions s.r.o.
Lo que la gente pregunta sobre mcp
¿Qué es lettio-eu/mcp?
+
lettio-eu/mcp es mcp servers para el ecosistema de Claude AI. Private, EU-hosted email for AI agents — read, search, reply and send over MCP (JMAP). Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-15.
¿Cómo se instala mcp?
+
Puedes instalar mcp clonando el repositorio (https://github.com/lettio-eu/mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar lettio-eu/mcp?
+
Nuestro agente de seguridad ha analizado lettio-eu/mcp y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene lettio-eu/mcp?
+
lettio-eu/mcp es mantenido por lettio-eu. La última actividad registrada en GitHub es del 2026-09-15, con 0 issues abiertos.
¿Hay alternativas a mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/lettio-eu-mcp)<a href="https://claudewave.com/repo/lettio-eu-mcp"><img src="https://claudewave.com/api/badge/lettio-eu-mcp" alt="Featured on ClaudeWave: lettio-eu/mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.