Назад към всички

himalaya

// Himalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete.

$ git log --oneline --stat
stars:378 126
updated:June 11, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namehimalaya
descriptionHimalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete.
homepagehttps://github.com/pimalaya/himalaya
metadata[object Object]

Himalaya

Use himalaya for IMAP/SMTP email from shell.

References

  • references/configuration.md: account config, auth, backend setup.
  • references/message-composition.md: MML compose syntax.

Setup

himalaya --version
himalaya account configure

Config path: ~/.config/himalaya/config.toml.

Prefer password managers/keyrings for credentials; do not paste secrets into chat/logs.

Read/search

himalaya folder list
himalaya envelope list
himalaya message read <id>
himalaya envelope list from alice@example.com subject invoice

Write

himalaya message write
himalaya template write
himalaya template send < /tmp/message.txt
himalaya message reply <id>
himalaya message forward <id>

Use MML for attachments and rich messages; read references/message-composition.md first.

Organize

himalaya message copy <id> <folder>
himalaya message move <id> <folder>
himalaya message delete <id>
himalaya flag add <id> --flag seen
himalaya flag remove <id> --flag seen

Safety

  • Confirm before sending, deleting, or moving many messages.
  • Use --account when multiple accounts exist.
  • Quote exact message IDs in summaries.