emperor-mail
by github.com/yarenty · v0.1.3 · updated Nov 2, 2026
Email over IMAP and SMTP: search and read messages and attachments; draft and send when switched on
Run it locally
Install the package and point your AI client at it.
Cargo
emperor-mailEnvironment variables
MAIL_USERrequiredLogin name for IMAP and SMTP
MAIL_PASSWORDsecretPassword or app password (set this or MAIL_OAUTH_TOKEN)
MAIL_OAUTH_TOKENsecretOAuth 2.0 access token for XOAUTH2, instead of a password (Gmail, Microsoft 365)
MAIL_FROMFrom address when the login name is not an address (default: the login name)
IMAP_HOSTrequiredIMAP server host name
IMAP_PORTIMAP port (default 993, or 143 with starttls)
IMAP_SECURITYIMAP connection security; plain only for a loopback host (default tls, starttls on port 143)
SMTP_HOSTSMTP server host name, needed only for send
SMTP_PORTSMTP port (default 465, or 587 with starttls)
SMTP_SECURITYSMTP connection security; plain only for a loopback host (default tls, starttls on ports 587 and 25)
MAIL_WRITABLEtrue offers the draft tool; unset, empty, false, 0, no or off keep the server read-only
MAIL_ALLOW_SENDtrue offers the send tool and draft; unset, empty, false, 0, no or off keep send out of the tool list
MAIL_SEND_ALLOWComma-separated recipients send may write to: addresses ([email protected]) or domains (@example.org). With sending on and none set, every recipient is refused
MAIL_FROM_ALLOWComma-separated From addresses send and draft may use: addresses or domains (@example.org). Unset: any
More from github.com/yarenty
tableski
github.com/yarenty
Every live trading feed is a table (work in progress): data files as SQL tables for AI agents.
Vikunja tasks
github.com/yarenty
Vikunja tasks for MCP clients: list and read tasks and projects; with --writable, change them.
emperor-folder
github.com/yarenty
List, read, search and (opt-in) write, edit and move files inside one folder, never outside it.
emperor-pdf
github.com/yarenty
Read, search and render the PDFs in one folder; merge, extract and create them from Markdown.
More MCP servers
Learning Model Context Protocol
github.com/yarnabrina
Basic arithmetic tools with natural-language expression parsing and evaluation.
Animal Slots UK
github.com/yaroslavnas-hue
Game reviews for animal-slots.uk: list collections, search by name, open single game pages.
kdbx
github.com/yarrasys
Read-only access to secrets in a local KeePassXC vault. Runs commands with them injected.
Vetto
github.com/yasaiiko
Check signup emails for disposable or dead domains, typos and Gmail aliases; block fake signups.
Milatexai
github.com/yasaminfayyaz
Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.
ShipDapp
github.com/yash1ts
Deploy Dockerized apps to Akash devnet with ShipDapp MCP build, deploy, update, and logs tools.