himalaya

himalaya

熱門

Himalaya CLI 用於 IMAP/SMTP 郵件:列出、閱讀、搜尋、撰寫、回覆、轉寄、複製、移動、刪除。

38萬星標
8.1萬分支
更新於 2026/7/23
SKILL.md
readonlyread-only
name
himalaya
description

Himalaya CLI 用於 IMAP/SMTP 郵件:列出、閱讀、搜尋、撰寫、回覆、轉寄、複製、移動、刪除。

Himalaya

使用 himalaya 從 shell 操作 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。