CodexGuild
io.github.adamVass/pylos-mcp·Messaging

pylos-mcp

Email MCP server for Gmail, Outlook and any IMAP mailbox, hardened against prompt injection

Stars
—
Version
1.4.1
License
—
Review
Passed
Registry update
Nov 24, 2026

Connect

npm
Terminal
$claude mcp add pylos \  -e EMAIL_USER=<email-user> \  -e EMAIL_PASSWORD=<email-password> \  -e PROVIDER=<provider> \  -e IMAP_HOST=<imap-host> \  -e CAPABILITIES=<capabilities> \  -e MS_CLIENT_ID=<ms-client-id> \  -e MS_TENANT=<ms-tenant> \  -e ACCOUNTS=<accounts> \  -- npx -y [email protected]

Environment variables

  • EMAIL_USERrequired

    Account login.

  • EMAIL_PASSWORDsecret

    App password. Either this or EMAIL_PASSWORD_CMD is required, except with PROVIDER=outlook, which signs in through the browser.

  • PROVIDER

    One of gmail, outlook, icloud, yahoo, gmx, fastmail, mailbox.org, posteo. Fills in IMAP, SMTP and Sieve hosts and ports.

  • IMAP_HOST

    IMAP hostname for self-hosted or unlisted providers. Overrides the preset.

  • CAPABILITIES

    Comma-separated list of tiers beyond read, which is always included. Defaults to drafts.

  • MS_CLIENT_ID

    With PROVIDER=outlook only. Application ID of an app registered in your organization's tenant.

  • MS_TENANT

    With PROVIDER=outlook only. Tenant ID or domain, for a single-tenant MS_CLIENT_ID.

  • ACCOUNTS

    Names of several accounts, separated by commas, each 1 to 16 lowercase letters or digits. Each account's settings then end in __ and its name in capitals, such as EMAIL_USER__WORK. Leave the unsuffixed account settings out.

Security review

Review passed

Reviewed 1d ago.

readme
scanned
metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

More in Messaging

Listing from the official MCP Registry.