Hermes Atlas
Plugins & extensions

hermes-yandex-mail

akinfold/hermes-yandex-mail

Hermes Agent plugin to search, read, flag, move and delete Yandex Mail over IMAP

In short

hermes-yandex-mail is a Hermes Agent plugin that lets the agent work through a Yandex mailbox over IMAP. Sending mail and saving attachments are available but switched off until you enable them.

What hermes-yandex-mail does

hermes-yandex-mail lets Hermes Agent work through a Yandex mailbox over IMAP at imap.yandex.ru:993, with no third-party service in the middle. It adds up to eight tools in a yandex_mail toolset: list folders with unread counts, search, read, mark, move and delete messages, plus save_attachment and send_message, which stay off until you enable them by name. Reading peeks without marking mail as read, deletion goes to Trash by default, and a copy exists before an original is removed.

You can limit the agent to specific folders and actions, for example with YANDEX_MAIL_ACTIONS=read, and a disallowed action is absent from the toolset entirely. Saved attachments go to the Hermes document cache and only the file path returns to the model. Login uses a Yandex app password with the Mail scope instead of the account password, and IMAP must be switched on in the mailbox first. There are no runtime dependencies beyond Python's standard library, and it is checked against Hermes v2026.9.24, the latest release and main on Python 3.11 to 3.14.

Key features

  • Eight tools: list folders, search, read, mark, move, delete, save attachment and send
  • Sending and attachment saving off by default
  • Restrict the agent to chosen folders and actions such as read or read,write
  • Attachments saved as files so their bytes never pass through the model
  • Deletion to Trash by default, with verified moves and UID-specific expunges
  • No runtime dependencies beyond the Python standard library

When to use it

  • Ask Hermes what arrived overnight and have it read the message from your bank
  • File all mail from one sender into an Archive folder and mark it read
  • Give the agent read-only access to a mailbox

Who it is for: Hermes Agent users with a Yandex Mail account who want the agent to triage and manage their inbox.

How it fits with Hermes Agent

It is a Hermes Agent plugin, installed with hermes plugins install and enabled with --enable, and it adds a yandex_mail toolset.

How to install hermes-yandex-mail

These commands are copied from the project's README. Check the repository for the latest steps before you run them.

hermes plugins install akinfold/hermes-yandex-mail/hermes_yandex_mail --enable

Requirements: A Yandex Mail account with IMAP switched on, a Yandex app password with Mail scope, YANDEX_MAIL_LOGIN and YANDEX_MAIL_APP_PASSWORD in ~/.hermes/.env, and Python 3.11 to 3.14

FAQ

What is hermes-yandex-mail?

hermes-yandex-mail is a Hermes Agent plugin that gives the agent tools to list, search, read, flag, move and delete messages in a Yandex mailbox over IMAP. Sending and attachment saving are opt-in.

How do I install hermes-yandex-mail?

Run hermes plugins install akinfold/hermes-yandex-mail/hermes_yandex_mail --enable. It asks for your Yandex login and an app password, or you can add them to ~/.hermes/.env yourself.

What do I need to run hermes-yandex-mail?

You need a Yandex Mail account with IMAP enabled and an app password with Mail scope. Without IMAP enabled, Yandex refuses the login with an error that looks like a wrong password.

Similar plugins for Hermes Agent

All plugins

Related guides: How to install Hermes Agent · How to run Hermes Agent securely