himalaya

himalaya

热门

Himalaya CLI 用于 IMAP/SMTP 邮件:列出、阅读、搜索、撰写、回复、转发、复制、移动、删除。

38万Star
8.1万Fork
更新于 2026/7/23
SKILL.md
readonly只读
name
himalaya
description

Himalaya CLI 用于 IMAP/SMTP 邮件:列出、阅读、搜索、撰写、回复、转发、复制、移动、删除。

Himalaya

使用 himalaya 通过 IMAP/SMTP 处理电子邮件。

参考

  • references/configuration.md:账户配置、认证、后端设置。
  • references/message-composition.md:MML 撰写语法。

设置

himalaya --version
himalaya account configure

配置文件路径:~/.config/himalaya/config.toml

建议使用密码管理器/密钥环存储凭据;请勿在聊天或日志中粘贴机密信息。

阅读/搜索

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

撰写

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

使用 MML 添加附件和富文本消息;请先阅读 references/message-composition.md

整理

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

安全

  • 在发送、删除或移动大量邮件前进行确认。
  • 当存在多个账户时使用 --account
  • 在摘要中引用确切的邮件 ID。