Lettio MCP

eu.lettio由 lettio.eu 發布官方發布者v0.5.0更新於 Nov 3, 2026

面向 AI 代理程式的私有、託管於歐盟的 JMAP 電子郵件:讀取、搜尋、回覆、起草、整理、傳送。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Private, EU-hosted email for AI agents over JMAP: read, search, reply, draft, organize, send.

已驗證Streamable HTTP可網頁執行效率與工作流溝通與協作

概覽

Lettio 的託管 MCP 服務(mcp.lettio.eu),由 lettio.eu 發布;需要 OAuth 登入;Streamable HTTP;20 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

發布者
lettio.eu
端點
mcp.lettio.eu
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Lettio MCP,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/eu.lettio%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "lettio": {
      "type": "http",
      "url": "https://mcp.lettio.eu/mcp"
    }
  }
}

README

Lettio MCP

Let your AI assistant read, search and send email from a private, EU-hosted mailbox.

Lettio MCP is a Model Context Protocol server that connects an AI agent (Claude, Cursor, and any other MCP client) to a Lettio mailbox over JMAP. Your assistant can triage your inbox, find a message, and send a reply.

  • 🇪🇺 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.

Hosted server: mail cards in Claude

The hosted server at https://mcp.lettio.eu/mcp adds three tools that open interactive cards in clients that support MCP Apps, such as Claude:

  • show_emails: the inbox, a folder or search results as a list you can open, archive and flag
  • show_email: a whole conversation, with Reply, Reply all, Archive and Trash
  • preview_email: a drafted message you can edit, preview in your brand and send

Sending from a card always needs your click, even when the connection doesn't allow the agent to send on its own. One connection can cover up to 10 mailboxes; searches run across all of them.

[Lettio mail cards in Claude]

Tools

ToolWhat it does
whoamiShow the connected mailbox and whether it may send.
list_accountsList configured mailboxes (local server).
list_mailboxesList folders with message and unread counts.
list_recent_emailsLatest messages in a folder, with paging.
search_emailsFree text plus filters: sender, recipient, subject, dates, attachments, unread, folder.
read_emailOne message as text, with its attachments listed. HTML mail is converted.
get_threadA whole conversation, oldest first.
get_attachmentOpen an attachment: text and PDF as text, images as images, others as binary. Locally it can also save to a file.
send_emailSend formatted mail as the signed-in mailbox, with attachments.
reply_emailReply in-thread, optionally to everyone, with attachments.
create_draftSave a message to Drafts without sending.
create_reply_draftSave a threaded reply to Drafts without sending.
send_draftSend a draft that is already in Drafts.
set_read_statusMark messages read or unread.
flag_emailFlag or unflag messages.
label_emailAdd or remove a label.
move_emailMove to a folder, archive, or trash (reversible).
create_folderCreate a mail folder.

Messages are written in Markdown and rendered as a styled email: headings, tables, quotes (end with > — Name), callouts (> [!NOTE] Title), code blocks, numbered steps and buttons ([Label](https://url "button")). The mailbox signature is added automatically; set it with set_signature.

To match your brand, set LETTIO_BRANDS to JSON (or a path to a JSON file) keyed by domain:

json
{ "example.com": { "primary": "#231F47", "accent": "#D8093A", "font": "Lexend, Arial, sans-serif" } }

Formatted mail goes out as HTML with a plain-text version. Pass format: "plain" to send text as written. Bulk tools take up to 100 ids.

Attachments can be base64 content, a local path, or from_email_id with attachment_id to reuse a file from another message.

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": "[email protected]",        "LETTIO_PASSWORD": "your-app-password"      }    }  }}

Restart Claude Desktop; the Lettio tools appear in the tools menu.

Configuration

Configured entirely through environment variables.

Single mailbox

VariableRequiredDescription
LETTIO_USERNAMEyesFull email address, e.g. [email protected].
LETTIO_PASSWORDyesMailbox app password.
LETTIO_HOSTnoMail host. Defaults to https://mail.lettio.eu.
LETTIO_ACCOUNT_NAMEnoFriendly 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": "[email protected]", "password": "app-password" },  { "name": "sales", "username": "[email protected]", "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 installnpm run build[email protected] LETTIO_PASSWORD=app-password npm start

License

MIT © Valmia Solutions s.r.o.

來源:README.md,提交 41ad3bb

工具

20

whoami

Show which mailbox this connection uses and whether it may send.

輸入參數account

list_accounts

List the mailboxes this server can use.

無需輸入參數。

list_mailboxes

List folders with message and unread counts.

輸入參數account

list_recent_emails

List the most recent emails in a folder, newest first.

輸入參數limitoffsetaccountmailboxunread_only

search_emails

Search email. Combine free text with filters; all given filters must match. With several mailboxes and no account, searches them all.

輸入參數tofromafterlimitquerybeforeoffsetaccountmailboxsubjectunread_onlyhas_attachment

read_email

Read one email: its text and a list of attachments. HTML mail is converted to text.

輸入參數id必填account

get_thread

Read the whole conversation an email belongs to, oldest first.

輸入參數id必填account

get_attachment

Open an attachment. Text and PDF come back as text, images as images, other files as a binary resource. Give save_to to write it to a local file instead.

輸入參數accountsave_toemail_id必填attachment_id必填

send_email

Send an email from this mailbox. This really sends, and the sender is always this mailbox. Write in Markdown; recipients get formatted HTML with a plain-text version.

輸入參數ccto必填bccbody必填formataccountsubject必填signatureattachments

reply_email

Reply in the same conversation and send it. Replies to the sender, or to everyone with reply_all.

輸入參數id必填body必填formataccountreply_allsignatureattachments

create_draft

Save a new message to Drafts without sending it.

輸入參數ccto必填bccbody必填formataccountsubject必填signatureattachments

create_reply_draft

Save a reply to Drafts, in the same conversation, without sending it.

輸入參數id必填body必填formataccountreply_allsignatureattachments

send_draft

Send a draft that is already in Drafts. This really sends.

輸入參數id必填account

get_signature

Show the signature that is added to outgoing mail.

輸入參數account

set_signature

Set the signature added to outgoing mail. Stored on the mailbox, so it applies to every client that reads it.

輸入參數htmltext必填account

set_read_status

Mark emails read or unread.

輸入參數ids必填read必填account

flag_email

Flag (star) or unflag emails.

輸入參數ids必填accountflagged必填

label_email

Add or remove a label on emails.

輸入參數addids必填label必填account

move_email

Move emails to a folder. Use "archive", "trash" (reversible), "inbox", or a folder name.

輸入參數ids必填accountmailbox必填

create_folder

Create a mail folder, optionally inside another.

輸入參數name必填parentaccount

版本歷史

2
  1. v0.5.0最新Nov 3, 2026
  2. v0.1.2Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分