Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

emperor-mail

von yarentyVersion 0.1.3i★ –iLäuft auf deinem Computer
Name in der Registryio.github.yarenty/emperor-mail

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Email over IMAP and SMTP: search and read messages and attachments; draft and send when switched on

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Chat & E-Mail
  • Das musst du eintragen: MAIL_USER, MAIL_PASSWORD, MAIL_OAUTH_TOKEN, IMAP_HOST

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: 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

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Der Entwickler hat in der Registry keine Installationsangaben gemacht. Sieh dir unten die README des Entwicklers an.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto yarenty bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Chat & E-Maili

  • Mehr Sterne als 0 % der anderen 1774 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 84 % der anderen 1774 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 1774 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist emperor-mail sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: MAIL_USER, MAIL_PASSWORD, MAIL_OAUTH_TOKEN, IMAP_HOST

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.1.3) kam vor 4 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Rust auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Vexa, emailmd, MCP WhatsApp Cloud

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Vexa

von Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

Läuft in der Cloud★ 2.949Apache-2.0Aktualisiert vor 2 Monaten
Installieren

emailmd

von anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

Computer oder Cloud★ 1.385MITAktualisiert vor 31 Tagen
Installieren

MCP WhatsApp Cloud

von codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

Läuft auf deinem Computer★ 277MITAktualisiert vor 5 Monaten
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

emperor-mail

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.

  • Built on emperor-mcp: stateless Streamable HTTP, framed tool output, forwarded credentials, compact tool definitions (Emperor Profile P1.1).
  • Two ways to run: one mailbox (credentials in the environment, stdio or HTTP) or a shared server (each request brings its own credentials in headers; nothing is stored).
  • Read-only by default. Started with no switch, the server lists only its four reading tools. --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.
  • Markdown bodies go out as text/plain plus rendered text/html.
  • Password, app password or OAuth 2.0 (XOAUTH2, for Gmail and Microsoft 365).
  • Single binary, pure Rust: IMAP via async-imap, parsing via mail-parser, SMTP via lettre, PDF text via lopdf, spreadsheets via calamine, Markdown via pulldown-cmark, TLS via rustls and the operating system's trust store.

Install

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).

Run for one mailbox

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

VariableMeaningDefault
MAIL_USERLogin name—
MAIL_PASSWORDPassword or app password (never printed, never logged)—
MAIL_OAUTH_TOKENOAuth 2.0 access token instead of a password (see OAuth)—
MAIL_FROMFrom address when the login name is not an addressthe login name
IMAP_HOST / IMAP_PORTIMAP serverport 993 (143 with starttls)
IMAP_SECURITYtls, starttls or plaintls, or starttls on port 143
SMTP_HOST / SMTP_PORTSMTP serverport 465 (587 with starttls)
SMTP_SECURITYtls, starttls or plaintls, or starttls on ports 587 and 25
MAIL_WRITABLESame as --writable: true, 1, yes or on list draftoff (unset, empty, false, 0, no, off)
MAIL_ALLOW_SENDSame as --allow-send: true, 1, yes or on list send and draftoff (unset, empty, false, 0, no, off)
MAIL_SEND_ALLOWSame as --send-allow, comma-separatednone
MAIL_FROM_ALLOWSame as --from-allow, comma-separatedany

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.

Flags

serve and doctor take the same flags.

FlagMeaning
--stdioSpeak MCP over stdin/stdout (one mailbox from the environment)
--bind HTTP listen address (default 127.0.0.1:8033)
--writableList draft (saving to Drafts changes the mailbox). Default: read-only, four tools
--allow-sendList 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-copyDo not copy sent mail to the Sent folder (for providers that file it themselves)
--pin-serversAlways 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 withTools listed
no switchlist_folders, search, read_message, read_attachment (read-only)
--writable / MAIL_WRITABLEthe four, plus draft
--allow-send / MAIL_ALLOW_SENDthe four, plus draft and send

Run as a shared server

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

HeaderSame asNotes
X-Mail-UserMAIL_USERLogin name
X-Mail-PasswordMAIL_PASSWORDSecret; with X-Mail-User
X-Mail-Oauth-TokenMAIL_OAUTH_TOKENSecret; instead of the password (XOAUTH2)
X-Mail-FromMAIL_FROMChecked against --from-allow
X-Mail-Imap-Host, X-Mail-Imap-Port, X-Mail-Imap-SecurityIMAP_*tls or starttls only
X-Mail-Smtp-Host, X-Mail-Smtp-Port, X-Mail-Smtp-SecuritySMTP_*tls or starttls only

These ten names are the only headers the server captures.

Rules:

  • The login is one source. If a request carries any of 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.
  • Servers follow the login. A caller with its own login may name its own servers in 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.
  • No plaintext from headers. A server named in a header is reached over TLS or STARTTLS only; plain is refused.
  • `--pin-servers` makes the environment's servers win for every caller (a company server that should only ever reach imap.corp.example).
  • When the mail server rejects the credentials, the HTTP response is `401` with a JSON-RPC error (code -32040), so a client can ask the user to sign in again.
  • Put the server behind an ingress that terminates TLS and authenticates callers; the headers carry passwords. Without one, keep it on 127.0.0.1.

Provider notes

  • Gmail: turn on 2-Step Verification, then create an app password at https://myaccount.google.com/apppasswords. 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.
  • Fastmail: create an app password under Settings → Privacy & Security → Integrations → App passwords, with IMAP and SMTP access. IMAP_HOST=imap.fastmail.com, SMTP_HOST=smtp.fastmail.com.
  • Outlook / Microsoft 365 accounts require OAuth: see below. Exchange Online files sent mail by itself; use --no-sent-copy.
OAuth (Gmail, Microsoft 365)

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.

  • Gmail: scope https://mail.google.com/; IMAP_HOST=imap.gmail.com, SMTP_HOST=smtp.gmail.com.
  • Microsoft 365: scopes 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.

Connect a client

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

or against a running HTTP server, credentials in headers

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" }

or one mailbox over stdio: MAIL_USER, MAIL_PASSWORD, IMAP_HOST and the other

variables are read from kowalski's environment

[[mcp.servers]] name = "mail" transport = "stdio"

--writable lists draft (replies saved in Drafts); leave it out for

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen