Lettio MCP logo

Lettio MCP

Connects AI agents to Lettio mailboxes for searching, reading, organizing, drafting, and sending email over JMAP.

Install Lettio MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lettio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lettio/mcp"
      ],
      "env": {
        "LETTIO_USERNAME": "YOUR_VALUE_HERE",
        "LETTIO_PASSWORD": "YOUR_VALUE_HERE",
        "LETTIO_ACCOUNTS": "YOUR_VALUE_HERE",
        "LETTIO_HOST": "YOUR_VALUE_HERE",
        "LETTIO_ACCOUNT_NAME": "YOUR_VALUE_HERE",
        "LETTIO_BRANDS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env LETTIO_USERNAME=YOUR_VALUE_HERE --env LETTIO_PASSWORD=YOUR_VALUE_HERE --env LETTIO_ACCOUNTS=YOUR_VALUE_HERE --env LETTIO_HOST=YOUR_VALUE_HERE --env LETTIO_ACCOUNT_NAME=YOUR_VALUE_HERE --env LETTIO_BRANDS=YOUR_VALUE_HERE --transport stdio lettio-mcp -- npx -y @lettio/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @lettio/mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Lettio MCP MCP server connects MCP clients to Lettio mailboxes over JMAP, allowing agents to search, read, organize, draft, and send email. The local package runs with Node.js and mailbox app-password credentials, and can serve one or several configured accounts. Sending is restricted to the authenticated mailbox address, while message content can include formatted Markdown and attachments. Reach for it when an agent needs direct access to a private, EU-hosted Lettio mailbox rather than a generic email abstraction.

Use cases

  • Triage an inbox by searching, reading, labeling, and moving messages
  • Draft and send replies from the authenticated mailbox
  • Extract text from email attachments and PDFs
  • Manage several Lettio mailboxes from one MCP connection
  • Create folders and maintain read, flag, and archive status

Key features

  • JMAP access to Lettio mailboxes
  • Filtered email and thread search
  • Markdown email with HTML and plain-text output
  • Attachment reading, reuse, and local saving
  • Draft, reply, and send workflows
  • Restricted sending identity

Tools18

What Lettio MCP lets your agent do. Expand a tool for its parameters.

Self-reported~276 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 61d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @lettio/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads2.8kPackage downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed18Callable tools this server registers over MCP.

How Lettio MCP works

What Lettio MCP does

Lettio MCP exposes Lettio email accounts to AI agents through the Model Context Protocol. It supports mailbox discovery, folder browsing, paginated recent-message retrieval, filtered search, message and thread reading, attachment access, and common organization actions.

Agents can create messages and threaded replies as drafts, send existing drafts, or send immediately. Mail can be marked read or unread, flagged, labeled, moved between folders, archived, or placed in the trash. Moving to archive or trash is reversible, and agents can create new folders.

Messages sent through the server use the signed-in mailbox as the sender. The server checks the identities authorized for that mailbox and pins both the visible sender and SMTP envelope to the login address, preventing an agent from selecting an unrelated sender.

How it works

The local server communicates with Lettio over JMAP, an open email protocol. MCP clients invoke individual tools for mailbox queries and mutations. A single configuration can represent one mailbox or multiple named mailboxes; tools can select an account when several are configured.

Email bodies are accepted as Markdown and rendered to styled HTML with a plain-text alternative. Supported formatting includes headings, tables, quotes, callouts, code blocks, numbered steps, and button-style links. The mailbox signature is added automatically. Attachments can be supplied as base64 data, read from a local path, or reused from another message. Bulk operations accept up to 100 message IDs.

A hosted OAuth-secured endpoint is also available at https://mcp.lettio.eu/mcp. The hosted service adds interactive email cards for MCP Apps-compatible clients, including Claude, with user actions for viewing, replying, archiving, trashing, previewing, and sending. This package is the local or self-hosted option.

Setup and configuration

Use Node.js 18 or newer, a Lettio mailbox, and a dedicated mailbox app password. For a single account, set LETTIO_USERNAME and LETTIO_PASSWORD. LETTIO_HOST can override the default mail host, and LETTIO_ACCOUNT_NAME assigns a friendly account name.

For multiple mailboxes, set LETTIO_ACCOUNTS to a JSON array containing each account's name, username, and app password, then select the desired account in tool calls. Do not combine this multi-account setting with the single-account variables.

The package can be launched through npx -y @lettio/mcp from an MCP client configuration, or built from source with npm install, npm run build, and npm start. Credentials are read from environment variables, retained in memory, and not logged.

Tools and capabilities

  • Identify the connected mailbox and whether sending is allowed.
  • List configured accounts and mailbox folders with message and unread counts.
  • Retrieve recent messages with pagination or search using text, sender, recipient, subject, date, attachment, unread, and folder filters.
  • Read messages and conversations, including converted HTML content and listed attachments.
  • Open text, PDF, image, and other attachment types; the local server can also save attachments to a file.
  • Send new messages, reply in-thread, create drafts, create reply drafts, and send saved drafts.
  • Mark messages read or unread, flag them, label them, move them, archive them, trash them, and create folders.

Limitations and notes

Sending is limited to the mailbox identity authorized for the authenticated account. Use a dedicated app password rather than the primary mailbox password. The interactive card tools belong to the hosted endpoint; the local tool set provides the mailbox operations listed above. Brand styling can be configured with LETTIO_BRANDS, using JSON or a path to a JSON file keyed by domain.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lettio MCP

Lettio MCP is an MCP server that connects AI agents to private, EU-hosted Lettio mailboxes over JMAP. Its main tools list, search, read, and organize messages; inspect threads and attachments; create drafts; reply; and send email as the authenticated mailbox. It supports one or multiple configured accounts.

Install it through an MCP client with `npx -y @lettio/mcp`, then configure the mailbox username and app password as environment variables. The package requires Node.js 18 or newer. From source, run `npm install`, `npm run build`, and `npm start`.

Configure multiple mailboxes with `LETTIO_ACCOUNTS`, a JSON array containing each account's name, username, and app password. Omit the single-account variables, then pass the selected account name to tool calls.

No, Lettio MCP sends only as the authenticated mailbox. Before sending, it verifies an authorized identity matching the login address and pins both the From header and SMTP envelope to that address.

Yes, it works with Claude Desktop and Cursor through standard MCP configuration. Claude Desktop can launch the local package with the `npx` command and the `LETTIO_USERNAME` and `LETTIO_PASSWORD` environment variables.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLettio MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lettio-mcp?style=directory)](https://allmcps.com/mcp/lettio-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/lettio-mcp"><img src="https://allmcps.com/api/badge/lettio-mcp?style=directory" alt="Lettio MCP on AllMCPs" /></a>