Linux command
himalaya 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List email envelopes
himalaya envelope list
Read a specific email
himalaya message read [id]
Compose and send a new email
himalaya message write
Reply to an email
himalaya message reply [id]
Forward an email
himalaya message forward [id]
List folders
himalaya folder list
Download attachments
himalaya attachment download [id]
Use a specific account
himalaya -a [account_name] envelope list
说明
himalaya is a command-line interface for managing emails. Unlike TUI email clients like mutt or aerc, himalaya is a pure CLI with no event loop — you interact with your emails using shell commands in a stateless way. This makes it composable with pipes and scripts, and freely integrable with other CLI tools. It supports multiple backends including IMAP, SMTP, Maildir, and Notmuch, with features like multi-account support, PGP encryption, and OAuth 2.0 authentication. Himalaya is designed to extract email logic into a simple CLI API that can be used directly from the terminal, from scripts, and from UIs.
参数
- -a, --account _name_
- Use a specific email account.
- envelope list
- List email envelopes in the current folder.
- envelope watch
- Watch for new envelope changes in real time.
- message read _id_
- Read a specific email message.
- message write
- Compose a new email message.
- message reply _id_
- Reply to an email message.
- message forward _id_
- Forward an email message.
- message delete _id_
- Delete an email message.
- folder list
- List mail folders.
- folder create _name_
- Create a new mail folder.
- attachment download _id_
- Download attachments from a message.
FAQ
What is the himalaya command used for?
himalaya is a command-line interface for managing emails. Unlike TUI email clients like mutt or aerc, himalaya is a pure CLI with no event loop — you interact with your emails using shell commands in a stateless way. This makes it composable with pipes and scripts, and freely integrable with other CLI tools. It supports multiple backends including IMAP, SMTP, Maildir, and Notmuch, with features like multi-account support, PGP encryption, and OAuth 2.0 authentication. Himalaya is designed to extract email logic into a simple CLI API that can be used directly from the terminal, from scripts, and from UIs.
How do I run a basic himalaya example?
Run `himalaya envelope list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --account _name_ do in himalaya?
Use a specific email account.