All plugins

postyard

Reads a Postyard mailbox on your own domain and writes reply drafts that a person reviews in their mail app. Draft-only by default: it asks for a read_draft API key limited to the domains you choose, and Postyard's server refuses to send with that key. Disclosure — network calls to api.postyard.dev only (or the base_url you set), with a fixed postyard-hermes/<version> User-Agent; reads subjects, people, bodies and attachment names of the mailboxes the key allows, and passes them to the model; writes drafts and marks messages handled; never downloads, edits, deletes or trashes mail. The postyard_send_draft tool is hidden until the user sets enable_send, needs a key that may send, and asks for Hermes approval for each draft; no background process, no telemetry, no files written; the API key is read with the profile-scoped secret reader.

postyard-mailToolsv0.1.0Updated 1 hour ago

About

Reads a Postyard mailbox on your own domain and writes reply drafts that a person reviews in their mail app. Draft-only by default: it asks for a read_draft API key limited to the domains you choose, and Postyard's server refuses to send with that key. Disclosure — network calls to api.postyard.dev only (or the base_url you set), with a fixed postyard-hermes/<version> User-Agent; reads subjects, people, bodies and attachment names of the mailboxes the key allows, and passes them to the model; writes drafts and marks messages handled; never downloads, edits, deletes or trashes mail. The postyard_send_draft tool is hidden until the user sets enable_send, needs a key that may send, and asks for Hermes approval for each draft; no background process, no telemetry, no files written; the API key is read with the profile-scoped secret reader.

Postyard for Hermes Agent

Status: 0.1.0, not in the Hermes plugin catalogue yet. Install it from this repository, as below.

Gives a Hermes agent a real mailbox on your own domain. The agent reads mail and writes reply drafts. You review and send them from your normal mail app.

Draft-only access is enforced by the server. You give the plugin a Postyard API key with the read_draft preset, limited to the domains you choose (or, with the API, to single mailboxes). Postyard's server refuses to send with that key and answers "not found" for every mailbox outside that limit, whatever the agent is told or decides. The plugin does not rely on a prompt for either.

Set up

  1. In Postyard, open Agents & API > API keys and create a key with the Read and draft preset, limited to the domains this agent may use. The API can also limit a key to single mailboxes.

  2. Install the plugin and paste the key when Hermes asks for POSTYARD_API_KEY:

    hermes plugins install postyard-mail/hermes-plugin
    hermes plugins enable postyard
    
  3. Ask Hermes to check its access. postyard_status shows the key's scopes and the domains or mailboxes it is limited to, and says whether the key can send.

Tools

ToolWhat it does
postyard_statusScopes and limits of the configured key
postyard_list_mailboxesMailboxes the key can reach
postyard_list_conversationsList or search conversations
postyard_get_conversationOne conversation and its messages
postyard_get_messageOne message's body and attachment names
postyard_create_draftA new email, saved as a draft
postyard_create_reply_draftA reply in the same thread, saved as a draft
postyard_mark_handledMark a message as dealt with
postyard_send_draftHidden until you turn it on (below)

The plugin has no tool that edits or deletes a draft, so it never changes one you have already worked on. Drafts appear in the mailbox's Drafts folder over IMAP, labeled in the Postyard app with the key that wrote them.

Turn sending on

Sending needs all three:

  1. An API key with the read_draft_send preset. With a read_draft key the server answers missing_scope.
  2. The setting: hermes plugins config postyard, then Allow sending drafts. Until then postyard_send_draft is not shown to the model and refuses to run.
  3. Hermes's approval for that draft. The question shows its To, Cc, Bcc and subject, which the plugin reads first: a draft it can't read is not sent. Denied, timed out or unattended means nothing is sent.

Without the plugin: OAuth

Postyard also has a hosted MCP server, and Hermes can sign in to it with OAuth instead of an API key. A new connection starts as Read and draft, with no mailboxes until you choose them in Postyard under Agents & API > Connections. A new account that has no mailbox yet sees a demo mailbox with sample mail instead. Nothing is sent or received there. In ~/.hermes/config.yaml:

mcp_servers:
  postyard:
    url: "https://api.postyard.dev/mcp"
    auth: oauth
    tools:
      exclude: [send_draft, reply_to_message, send_message]

The exclude line only hides tools. What stops sending is the connection's permission on the server.

What it does on your machine

  • Network: requests to https://api.postyard.dev (or the base_url you set) with a postyard-hermes/<version> User-Agent. The API key is dropped if a redirect leaves that host.
  • Data: reads subjects, people, bodies and attachment names of the mailboxes the key allows and passes them to your model. Attachments are not downloaded.
  • Credential: read with agent.secret_scope.get_secret. The plugin reads no other credential and writes no files.
  • No background process, telemetry, shell commands or Python dependencies.

Mail is written by other people. The tool descriptions tell the model to treat it as data, and a read_draft key limits what a successful prompt injection can do. Through this plugin it can write a bad draft or mark mail handled. Someone who gets the key itself can also delete unsent drafts and move mail to Trash, which can be restored. Neither can send.

Develop

uv run --no-project --python 3.12 --with pytest==9.2.0 pytest tests
hermes plugins validate . --install-deps

The tests use a local mock of the API. Report a security problem as SECURITY.md says.

License

MIT

README from the reviewed commit afda7a0; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section