关于 himalaya
himalaya 是通过 IMAP 和 SMTP 管理电子邮件的 Shell 技能,涵盖阅读、搜索、撰写、发送和整理邮件,并提供账户配置与邮件格式说明。
主要功能
- 01配置电子邮件账户
- 02列出文件夹并搜索邮件
- 03阅读和撰写邮件
- 04回复、转发及发送模板
- 05复制、移动、删除和标记邮件
适用场景
- 01按发件人或主题查找邮件
- 02撰写带附件的邮件
- 03整理多个账户中的邮件
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ openclaw/ openclaw --skill himalaya安装后在 Claude Code 中输入/himalaya确认已加载。
附带文件references/configuration.mdreferences/message-composition.md
详细介绍
Himalaya
在 shell 中使用 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 [email protected] 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> --to <folder>
himalaya message move <id> --to <folder>
himalaya message delete <id>
himalaya flag add <id> --flag seen
himalaya flag remove <id> --flag seen
注意事项
- 存在多个账户时,使用
--account。 - 在摘要中用引号标出准确的消息 ID。
评论
支持 Markdown