emailmd
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Email MCP server for Gmail, Outlook and any IMAP mailbox, hardened against prompt injection
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 15/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 27/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 9 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 pylos-mcp。按照 https://mcp.popnx.com/i/adamvass-pylos-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 pylos-mcp 的密钥(在开发者网站创建) · 需要填写 1 项设置(EMAIL_USER) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server pylos-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "pylos": { "command": "npx", "args": [ "-y", "pylos-mcp" ], "env": { "EMAIL_USER": "your-value", "EMAIL_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) EMAIL_PASSWORD, EMAIL_USER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 pylos-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
EMAIL_USER 账户登录名。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "your-value",
"EMAIL_PASSWORD": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 pylos-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 pylos-mcp,或回答中出现 pylos-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
PROVIDER 可选值为 gmail、outlook、icloud、yahoo、gmx、fastmail、mailbox.org、posteo 之一。将自动填充 IMAP、SMTP 和 Sieve 的主机与端口。 IMAP_HOST 用于自托管或未列出的服务商的 IMAP 主机名。将覆盖预设值。 CAPABILITIES 以逗号分隔的层级列表,除始终包含的 read 之外的其他层级。默认为 drafts MS_CLIENT_ID 仅当 PROVIDER=outlook 时使用。在您组织的租户中注册的应用的应用程序 ID。 MS_TENANT 仅当 PROVIDER=outlook 时使用。租户 ID 或域名,用于单租户的 MS_CLIENT_ID。 ACCOUNTS 多个账户的名称,用逗号分隔,每个名称为 1 至 16 个小写字母或数字。每个账户的设置随后以 __ 结尾,并以大写的账户名结束,例如 EMAIL_USER__WORK 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 pylos-mcp
pylos-mcp 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 pylos-mcp 的应用
B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 pylos-mcp 的密钥(在开发者网站创建) · 需要填写 1 项设置(EMAIL_USER) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server pylos-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user pylos --env EMAIL_USER=your-value --env EMAIL_PASSWORD=your-value -- npx -y pylos-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) EMAIL_PASSWORD, EMAIL_USER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 pylos-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
EMAIL_USER 账户登录名。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user pylos --env EMAIL_USER=your-value --env EMAIL_PASSWORD=your-value -- npx -y pylos-mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 pylos-mcp 在列表中并显示已连接
用 pylos-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 pylos-mcp,或回答中出现 pylos-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
PROVIDER 可选值为 gmail、outlook、icloud、yahoo、gmx、fastmail、mailbox.org、posteo 之一。将自动填充 IMAP、SMTP 和 Sieve 的主机与端口。 IMAP_HOST 用于自托管或未列出的服务商的 IMAP 主机名。将覆盖预设值。 CAPABILITIES 以逗号分隔的层级列表,除始终包含的 read 之外的其他层级。默认为 drafts MS_CLIENT_ID 仅当 PROVIDER=outlook 时使用。在您组织的租户中注册的应用的应用程序 ID。 MS_TENANT 仅当 PROVIDER=outlook 时使用。租户 ID 或域名,用于单租户的 MS_CLIENT_ID。 ACCOUNTS 多个账户的名称,用逗号分隔,每个名称为 1 至 16 个小写字母或数字。每个账户的设置随后以 __ 结尾,并以大写的账户名结束,例如 EMAIL_USER__WORK 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 pylos-mcp 的密钥(在开发者网站创建) · 需要填写 1 项设置(EMAIL_USER) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server pylos-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "pylos": { "command": "npx", "args": [ "-y", "pylos-mcp" ], "env": { "EMAIL_USER": "your-value", "EMAIL_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) EMAIL_PASSWORD, EMAIL_USER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 pylos-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
EMAIL_USER 账户登录名。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 pylos-mcp 的设置中,EMAIL_PASSWORD, EMAIL_USER 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 pylos-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 pylos-mcp,或回答中出现 pylos-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
PROVIDER 可选值为 gmail、outlook、icloud、yahoo、gmx、fastmail、mailbox.org、posteo 之一。将自动填充 IMAP、SMTP 和 Sieve 的主机与端口。 IMAP_HOST 用于自托管或未列出的服务商的 IMAP 主机名。将覆盖预设值。 CAPABILITIES 以逗号分隔的层级列表,除始终包含的 read 之外的其他层级。默认为 drafts MS_CLIENT_ID 仅当 PROVIDER=outlook 时使用。在您组织的租户中注册的应用的应用程序 ID。 MS_TENANT 仅当 PROVIDER=outlook 时使用。租户 ID 或域名,用于单租户的 MS_CLIENT_ID。 ACCOUNTS 多个账户的名称,用逗号分隔,每个名称为 1 至 16 个小写字母或数字。每个账户的设置随后以 __ 结尾,并以大写的账户名结束,例如 EMAIL_USER__WORK 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 pylos-mcp 的密钥(在开发者网站创建) · 需要填写 1 项设置(EMAIL_USER) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server pylos-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "pylos": { "type": "stdio", "command": "npx", "args": [ "-y", "pylos-mcp" ], "env": { "EMAIL_USER": "your-value", "EMAIL_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) EMAIL_PASSWORD, EMAIL_USER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 pylos-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
EMAIL_USER 账户登录名。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 pylos-mcp 的设置中,EMAIL_PASSWORD, EMAIL_USER 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 pylos-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 pylos-mcp,或回答中出现 pylos-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
PROVIDER 可选值为 gmail、outlook、icloud、yahoo、gmx、fastmail、mailbox.org、posteo 之一。将自动填充 IMAP、SMTP 和 Sieve 的主机与端口。 IMAP_HOST 用于自托管或未列出的服务商的 IMAP 主机名。将覆盖预设值。 CAPABILITIES 以逗号分隔的层级列表,除始终包含的 read 之外的其他层级。默认为 drafts MS_CLIENT_ID 仅当 PROVIDER=outlook 时使用。在您组织的租户中注册的应用的应用程序 ID。 MS_TENANT 仅当 PROVIDER=outlook 时使用。租户 ID 或域名,用于单租户的 MS_CLIENT_ID。 ACCOUNTS 多个账户的名称,用逗号分隔,每个名称为 1 至 16 个小写字母或数字。每个账户的设置随后以 __ 结尾,并以大写的账户名结束,例如 EMAIL_USER__WORK 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user pylos --env EMAIL_USER=your-value --env EMAIL_PASSWORD=your-value -- npx -y pylos-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "your-value",
"EMAIL_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "your-value",
"EMAIL_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"pylos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "your-value",
"EMAIL_PASSWORD": "your-value"
}
}
}
}EMAIL_USER 必填 envEMAIL_PASSWORD 机密 必填 envPROVIDER envIMAP_HOST envCAPABILITIES envMS_CLIENT_ID envMS_TENANT envACCOUNTS env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月18日
注册名称已通过 GitHub 账户 adamVass 验证,该账户拥有此仓库
代码最后更新于15天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 pylos-mcp@1.4.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/adamvass-pylos-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:EMAIL_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于15天前,最新版本(1.4.0)于15天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
| 本项 pylos-mcp | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 是 | 否 |
| 基础检查 | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
pylos-mcp
Your mail client shows you the message. pylos-mcp shows your assistant what it hides.
Warnings: sender_mismatch, hidden_text, instruction_patterns, mixed_script, encoded_blob
Reads and drafts by default. Sending starts off. No bcc anywhere.
Ask your assistant what needs you today, to sum up a long thread, or to draft the reply you keep putting off. pylos-mcp gives Claude, or any MCP client, your Gmail, Outlook and Microsoft 365, iCloud or IMAP mailbox to do it with.
Anyone can put text in your inbox, and once an AI assistant reads that inbox, they can put text in front of the assistant too. So every message reaches the assistant fenced as input from a stranger, with a Warnings line for what looks off, such as hidden text, phrases aimed at an AI, lookalike letters, a Reply-To on another domain or a failed DMARC check. The message in the image trips five detectors at once.
It runs on your machine. Moving, sending and deleting stay off until you turn them on, and sending then reaches only the recipients you allow.
--demo serves a sample inbox instead of yours. It holds a colleague's note with a deadline, a receipt, a newsletter, a parcel notice your mail server could not verify, and the account warning from the image above. The demo reads none of your settings and connects to no mail server, so there is nothing to sign in to.
claude mcp add pylos-demo -- npx -y pylos-mcp --demo
In other clients, add --demo to the args of the entry under Quick start and leave out env. Then ask the assistant whether anything in the inbox is urgent.
The newsletter shows a limit worth knowing. Its preview line is hidden from mail clients by design, so it gets a hidden_text warning too. A warning says what a message contains, not whether it is malicious.
pylos-mcp works with any client that runs local MCP servers. It runs locally through npx and needs Node.js 22 or later. Every route below starts from example values, so replace the address and password with your own. Use an app password, not your account's regular password, and for Outlook no password at all. Provider setup says where to get one.
pylos-mcp connects to your mail provider, and with Outlook to Microsoft's sign in service. What the assistant reads goes to your AI client and, through it, to the model provider you use, as anything else you show your assistant does. Attachments you ask for are saved to your Downloads folder.
Claude Desktop. Download pylos-mcp.mcpb, open it, and fill in the form Desktop shows.
Claude Code. --scope user makes it available in every project. EMAIL_PASSWORD_CMD keeps the password out of your shell history and Claude's config: it runs a command that prints the password, here a macOS keychain lookup. Store the password there first with security add-generic-password -s pylos-mcp -a you@example.com -w, which asks for it.
claude mcp add pylos-mcp --scope user -e PROVIDER=gmail -e EMAIL_USER=you@example.com \
-e EMAIL_PASSWORD_CMD="security find-generic-password -s pylos-mcp -w" -- npx -y pylos-mcp
Cursor and VS Code. Use the buttons above, then put your own values in the config they create.
Config files for Cursor, VS Code, Windsurf, Cline and other clients
Most clients, Cursor's .cursor/mcp.json and Claude Desktop's claude_desktop_config.json among them, take this entry:
{
"mcpServers": { "pylos-mcp": { "command": "npx", "args": ["-y", "pylos-mcp"], "env": { "PROVIDER": "gmail", "EMAIL_USER": "you@example.com", "EMAIL_PASSWORD": "your-app-password" } } } }
VS Code's .vscode/mcp.json names the key servers:
{
"servers": { "pylos-mcp": { "command": "npx", "args": ["-y", "pylos-mcp"], "env": { "PROVIDER": "gmail", "EMAIL_USER": "you@example.com", "EMAIL_PASSWORD": "your-app-password" } } } }
Outlook and Microsoft 365 take PROVIDER=outlook and no password at all, so remove EMAIL_PASSWORD from the entry, or the server refuses to start. The first time the assistant reads mail, your browser opens Microsoft's sign in page.
Restart your client fully after any change, since tools register only at startup and toggling the server off and on is not always enough. Then ask the assistant to list your mail folders. A list means it works.
If the Claude Desktop extension shows "Server disconnected", the reason is in Desktop's main.log in ~/Library/Logs/Claude on macOS or %APPDATA%\Claude\logs on Windows, on a line starting with pylos-mcp:.
Simon Willison calls it the lethal trifecta: an AI agent with access to private data, exposure to untrusted content and the ability to communicate externally. An assistant reading your email has the first two by design, because your inbox is private and anyone can write to it. Stealing what it read takes the third, a way to send it somewhere else.
Sending is off by default. Drafts wait in your Drafts folder until you send them yourself, and enabling sending still requires a recipient allowlist. With SEND_CONFIRM=true, every message is also shown to you in a dialog and goes out only if you accept. No tool attaches a file from your disk or adds a forwarding rule.
The third leg can still come from elsewhere in the same client, such as a tool that fetches web pages or runs shell commands. Image markup inside a message is neutralized, but the model can still write an image link of its own, which a client that loads images would fetch. When the assistant reads your mail, keep tools that reach the internet out of that conversation.
Fencing reduces prompt injection risk, and nothing eliminates it. The model still reads text written by strangers, so check what the assistant tells you about your mail before acting on it.
Each capability is a separate switch, and turning one on leaves the others as they are. Reading is always on, drafting starts on, and everything else stays off until you list it in CAPABILITIES. A tier that is off has its tools left out of the tool list entirely, so a model never learns they exist.
| Tier | Default | Tools |
|---|---|---|
read | always on | search_emails, get_email, get_thread, get_attachment, list_folders |
drafts | on | create_draft |
manage | off | move_email, set_flags |
send | off | send_email |
delete | off | delete_email |
sieve-read | off | list_sieve_scripts, get_sieve_script |
Enable more with a list, for example CAPABILITIES=drafts,manage,delete. Moving a message into Trash is a delete by another route, so move_email refuses Trash unless delete is on too.
get_thread lists the conversation a message belongs to, meaning the messages it replies to and the replies that name it or an earlier message, from its own folder, INBOX and Sent. Each message is then read with get_email, which adds its warnings. Both create_draft and send_email take in_reply_to to thread a reply under the original in mail clients. Sending the reply marks the original as answered. With quote_original, the server adds the original below the reply as mail clients do, but only when every recipient was already on the original. Text the original's HTML hid is left out. A message body can be at most 64 kB, quote included.
search_emails pages through results filtered by free text, from, to, subject, since and before dates, or unread and flagged status. get_email shows sent and arrival times, Cc, and Reply-To when it differs from From. With manage on, set_flags marks messages read, unread, flagged or unflagged.
get_attachment saves a file to DOWNLOAD_DIR without reading its contents into the conversation. Saved files are readable only by you, never replace an existing file, and on macOS carry the quarantine flag, so an app among them goes through Gatekeeper before it runs.
These limits are enforced by the server.