OpenMail for Hermes Agent
openmailsh/hermes-plugin
Platform plugin that gives a Hermes agent its own email address, with threaded replies and inbox tools
OpenMail for Hermes Agent is a platform plugin that gives a Hermes agent an email address through the OpenMail service. Incoming mail wakes the agent, and its answer is sent back as a reply in the same thread.
What OpenMail for Hermes Agent does
Once installed, the plugin runs as a Hermes gateway platform. Inbound mail arrives over a websocket, so no public URL or webhook is needed, and the last event ID is stored so a restart replays missed messages. The adapter re-fetches each message from the API before acting, so a forged frame cannot impersonate a sender. Two gates control who can write to the agent: OpenMail's server-side allow and block rules, then Hermes's own allowed-user list.
Three modes are set with OPENMAIL_MODE. In channel mode, mail starts a turn and the answer goes out as the reply. In notify mode, mail is summarized and sent to your home channel such as Telegram, Slack or Discord, never to the sender. In tool mode, inbound mail is ignored and the agent only uses tools on request. Native tools let the agent send, reply, list and read threads, extract attachment text and create inboxes. Hermes profiles can each get their own inbox-scoped key.
Key features
- Email address for a Hermes agent, with replies in the same thread
- Channel, notify and tool modes set per gateway or per inbox
- Native tools to send, reply, list threads, read threads and create inboxes
- Attachment text extraction for PDF, DOCX, XLSX and images
- Sender allow lists on both the OpenMail and Hermes sides
- Per-profile inbox-scoped keys for separate bots
When to use it
- Letting people email a Hermes agent and get answers in the same thread
- Forwarding summaries of automated mail to a Telegram or Slack home channel
- Giving each Hermes profile or subagent its own address
Who it is for: Hermes Agent users who want their agent reachable and able to send mail without building an email integration.
How it fits with Hermes Agent
Built for Hermes Agent as a gateway platform plugin, installed with hermes plugins install and set up with hermes openmail setup.
How to install OpenMail for Hermes Agent
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
hermes plugins install openmail --enable
hermes openmail setup
hermes gateway runRequirements: An OpenMail API key created at console.openmail.sh, and a Hermes gateway to run the plugin
Note: It depends on an account and API key from the separate OpenMail service.
FAQ
What is OpenMail for Hermes Agent?
OpenMail for Hermes Agent is a platform plugin that gives a Hermes agent an email address. Mail to the address starts an agent turn, and the answer goes out as a threaded reply.
Does OpenMail for Hermes Agent work with Hermes Agent?
Yes. It is written for Hermes Agent and registers as a gateway platform plus an openmail toolset the agent can use directly.
How do I install OpenMail for Hermes Agent?
Run hermes plugins install openmail --enable, then hermes openmail setup and paste an API key, then start the gateway with hermes gateway run. You can check the result later with hermes openmail doctor.
Similar messaging for Hermes Agent
All messagingTurns Hermes Agent into a WhatsApp manager: send messages, voice notes and files, and search contacts
teknium1 hermes-miniverseBridge that puts Hermes Agent into Miniverse pixel worlds with live presence and agent-to-agent chat
Crustocean ReinaAutonomous social agent for Crustocean, built as a platform adapter on the Hermes Agent gateway
cuongdev hermes-zalo-pluginNode.js bridge that connects a personal Zalo account to the Hermes Agent gateway
RongleCat Hermes WeChat AdapterHermes Agent WeChat adapter that connects personal WeChat accounts through the iLink Bot API
inkbox-ai Hermes Inkbox PluginGives a Hermes agent its own mailbox, phone number, SMS/MMS, iMessage and realtime voice calls
Related guides: How to run Hermes Agent securely · Run multiple Hermes agents with profiles