Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
作者提供的说明(英文原文)
Email over IMAP and SMTP: search and read messages and attachments; draft and send when switched on
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MAIL_USER, MAIL_PASSWORD, MAIL_OAUTH_TOKEN, MAIL_FROM, IMAP_HOST, IMAP_PORT, IMAP_SECURITY, SMTP_HOST, SMTP_PORT, SMTP_SECURITY, MAIL_WRITABLE, MAIL_ALLOW_SEND, MAIL_SEND_ALLOW, MAIL_FROM_ALLOW标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
作者没有在注册中心列出安装信息。请查看下方作者的 README。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 yarenty 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:MAIL_USER, MAIL_PASSWORD, MAIL_OAUTH_TOKEN, IMAP_HOST
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.3)于5天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Rust。
同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Your mailbox as MCP tools: search and read by default; draft and send only when you switch them on.
emperor-mail is an MCP server that reads and writes email over IMAP and SMTP, so an agent can find a message, read it and its attachments (PDF, Word, Excel and OpenDocument spreadsheets included), and draft a reply for you to send.
--writable adds draft; --allow-send adds send (and draft), and even then send writes only to the recipients you list. Sent mail is copied to your Sent folder.text/plain plus rendered text/html.Prebuilt binaries (macOS arm64/x86_64, Linux x86_64, Windows x86_64) are attached to GitHub releases. From source:
cargo install emperor-mail
Or as a container (stdio, one mailbox from the environment):
docker build -t emperor-mail https://github.com/yarenty/emperor-mail.git
docker run -i --rm -e MAIL_USER -e MAIL_PASSWORD -e IMAP_HOST -e SMTP_HOST emperor-mail
The image runs emperor-mail serve --stdio, so writing is switched on with variables rather than flags: add -e MAIL_WRITABLE=true for draft, or -e MAIL_ALLOW_SEND=true -e MAIL_SEND_ALLOW=@example.org for draft and send to that domain (see Flags).
Credentials come from the environment. Use an app password, never your account password (see Provider notes).
export MAIL_USER="you@example.com"
export MAIL_PASSWORD=" " export IMAP_HOST="imap.example.com" # port 993, implicit TLS by default export SMTP_HOST="smtp.example.com" # only needed for send; port 465 by default
emperor-mail doctor # check everything before you connect a client emperor-mail serve --stdio # read-only, for desktop clients that spawn the server emperor-mail serve --stdio --writable # also draft replies into the Drafts folder emperor-mail serve # or Streamable HTTP on 127.0.0.1:8033/mcp
| Variable | Meaning | Default |
|---|---|---|
MAIL_USER | Login name | — |
MAIL_PASSWORD | Password or app password (never printed, never logged) | — |
MAIL_OAUTH_TOKEN | OAuth 2.0 access token instead of a password (see OAuth) | — |
MAIL_FROM | From address when the login name is not an address | the login name |
IMAP_HOST / IMAP_PORT | IMAP server | port 993 (143 with starttls) |
IMAP_SECURITY | tls, starttls or plain | tls, or starttls on port 143 |
SMTP_HOST / SMTP_PORT | SMTP server | port 465 (587 with starttls) |
SMTP_SECURITY | tls, starttls or plain | tls, or starttls on ports 587 and 25 |
MAIL_WRITABLE | Same as --writable: true, 1, yes or on list draft | off (unset, empty, false, 0, no, off) |
MAIL_ALLOW_SEND | Same as --allow-send: true, 1, yes or on list send and draft | off (unset, empty, false, 0, no, off) |
MAIL_SEND_ALLOW | Same as --send-allow, comma-separated | none |
MAIL_FROM_ALLOW | Same as --from-allow, comma-separated | any |
plain (no encryption) is accepted only from the environment and only for a loopback host, such as a local mail bridge. Certificates are always verified against the operating system's trust store.
serve and doctor take the same flags.
| Flag | Meaning |
|---|---|
--stdio | Speak MCP over stdin/stdout (one mailbox from the environment) |
--bind | HTTP listen address (default 127.0.0.1:8033) |
--writable | List draft (saving to Drafts changes the mailbox). Default: read-only, four tools |
--allow-send | List send, and draft with it (implies --writable). Without it send is not listed |
--send-allow | Recipients send may write to: ann@example.org or @example.org; repeat or comma-separate. With --allow-send and no pattern, every recipient is refused |
--from-allow | From addresses send and draft may use (same syntax). Unset: any |
--no-sent-copy | Do not copy sent mail to the Sent folder (for providers that file it themselves) |
--pin-servers | Always use the environment's IMAP/SMTP servers; ignore server headers |
The write switches can also come from the environment, for containers and catalogs that cannot pass flags: MAIL_WRITABLE for --writable and MAIL_ALLOW_SEND for --allow-send (unset, empty, false, 0, no or off mean off; true, 1, yes or on mean on; anything else stops the server at start-up), MAIL_SEND_ALLOW for --send-allow and MAIL_FROM_ALLOW for --from-allow (comma-separated; empty means no pattern). A flag on the command line wins over its variable. The safety rule is the same either way: with sending on and no recipient pattern, every recipient is refused, and patterns without sending on are a start-up error.
| Started with | Tools listed |
|---|---|
| no switch | list_folders, search, read_message, read_attachment (read-only) |
--writable / MAIL_WRITABLE | the four, plus draft |
--allow-send / MAIL_ALLOW_SEND | the four, plus draft and send |
On a shared server every request carries the caller's own credentials in headers. They are used for that one tool call and dropped with the request: never stored, never logged.
emperor-mail serve --bind 127.0.0.1:8033 # read-only
emperor-mail serve --bind 127.0.0.1:8033 --writable # callers may also save drafts
| Header | Same as | Notes |
|---|---|---|
X-Mail-User | MAIL_USER | Login name |
X-Mail-Password | MAIL_PASSWORD | Secret; with X-Mail-User |
X-Mail-Oauth-Token | MAIL_OAUTH_TOKEN | Secret; instead of the password (XOAUTH2) |
X-Mail-From | MAIL_FROM | Checked against --from-allow |
X-Mail-Imap-Host, X-Mail-Imap-Port, X-Mail-Imap-Security | IMAP_* | tls or starttls only |
X-Mail-Smtp-Host, X-Mail-Smtp-Port, X-Mail-Smtp-Security | SMTP_* | tls or starttls only |
These ten names are the only headers the server captures.
Rules:
X-Mail-User, X-Mail-Password or X-Mail-Oauth-Token, the whole login comes from headers: the user plus exactly one of password and token. A header user is never combined with a secret from the environment.X-Mail-Imap-* / X-Mail-Smtp-*; what it leaves out falls back to the environment (IMAP_HOST, SMTP_HOST, ...). With a login from the environment, server headers are ignored, so the operator's password never goes to a host a caller picked.plain is refused.imap.corp.example).-32040), so a client can ask the user to sign in again.127.0.0.1.IMAP_HOST=imap.gmail.com, SMTP_HOST=smtp.gmail.com. IMAP must be enabled in Gmail settings for some accounts. Gmail files sent mail in "[Gmail]/Sent Mail" by itself: run with --no-sent-copy to avoid a second copy.IMAP_HOST=imap.fastmail.com, SMTP_HOST=smtp.fastmail.com.--no-sent-copy.emperor-mail speaks SASL XOAUTH2 on IMAP and SMTP. It does not run an OAuth flow and holds no client secret: the client obtains and refreshes the access token and passes it per request in X-Mail-Oauth-Token (or MAIL_OAUTH_TOKEN for stdio), with the mailbox address in X-Mail-User / MAIL_USER. The token is forwarded for that one call and never stored or logged. An expired token gives a 401, the cue for the client to refresh it.
https://mail.google.com/; IMAP_HOST=imap.gmail.com, SMTP_HOST=smtp.gmail.com.https://outlook.office.com/IMAP.AccessAsUser.All and https://outlook.office.com/SMTP.Send (plus offline_access for refresh); IMAP_HOST=outlook.office365.com, SMTP_HOST=smtp.office365.com, SMTP_PORT=587. SMTP AUTH must be enabled for the mailbox.Other servers: if yours offers only STARTTLS, set IMAP_PORT=143 / SMTP_PORT=587 (the security mode follows the port) or set *_SECURITY=starttls explicitly.
Claude Desktop (claude_desktop_config.json), one mailbox over stdio:
{
"mcpServers": { "mail": { "command": "emperor-mail", "args": ["serve", "--stdio"], "env": { "MAIL_USER": "you@example.com", "MAIL_PASSWORD": " ", "IMAP_HOST": "imap.example.com", "MAIL_WRITABLE": "true" } } } }
Claude Code, stdio or HTTP:
claude mcp add mail -e MAIL_USER=you@example.com -e MAIL_PASSWORD='<app password>' \
-e IMAP_HOST=imap.example.com -- emperor-mail serve --stdio
claude mcp add --transport http mail http://127.0.0.1:8033/mcp \ --header "X-Mail-User: you@example.com" --header "X-Mail-Password: " \ --header "X-Mail-Imap-Host: imap.example.com"
kowalski (config.toml):
[[mcp.servers]]
name = "mail" transport = "http" url = "http://127.0.0.1:8033/mcp" headers = { "X-Mail-User" = "you@example.com", "X-Mail-Password" = " ", "X-Mail-Imap-Host" = "imap.example.com" }
[[mcp.servers]] name = "mail" transport = "stdio"
draft (replies saved in Drafts); leave it out for只显示了开头部分;其余内容请在仓库中阅读