emperor-mail

Official registry Search and web

Email over IMAP and SMTP: search, read messages and attachments, draft, and send when allowed

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

CARGO package emperor-mail

Environment variables

  • MAIL_USER required Login name for IMAP and SMTP
  • MAIL_PASSWORD secret Password or app password (set this or MAIL_OAUTH_TOKEN)
  • MAIL_OAUTH_TOKEN secret OAuth 2.0 access token for XOAUTH2, instead of a password (Gmail, Microsoft 365)
  • MAIL_FROM From address when the login name is not an address (default: the login name)
  • IMAP_HOST required IMAP server host name
  • IMAP_PORT IMAP port (default 993, or 143 with starttls)
  • IMAP_SECURITY IMAP connection security; plain only for a loopback host (default tls, starttls on port 143)
  • SMTP_HOST SMTP server host name, needed only for send
  • SMTP_PORT SMTP port (default 465, or 587 with starttls)
  • SMTP_SECURITY SMTP connection security; plain only for a loopback host (default tls, starttls on ports 587 and 25)

Frequently asked questions

What is emperor-mail?

Email over IMAP and SMTP: search, read messages and attachments, draft, and send when allowed

How do I install emperor-mail?

Follow the installation steps in its documentation, shown on this page and in its repository.

Does emperor-mail need an API key?

Yes. It expects MAIL_USER, MAIL_PASSWORD, MAIL_OAUTH_TOKEN, IMAP_HOST, which you set in its configuration.

Is emperor-mail open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains emperor-mail?

It is published by yarenty. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.