HimalayaCLI 电子邮件客户端
Himalaya 是一个CLI 电子邮件客户端,目标是将电子邮件逻辑提取到一个简单(但可靠)的 CLI API 中,该 API 可以直接从终端、脚本、UI 中使用。
特性
- 邮箱列表
- 电子邮件列表和过滤
- 基于
$EDITOR的电子邮件撰写功能 - 电子邮件操作(复制/移动/删除)
- 多账号登陆
- 用于实时通知的 IDLE
- Vim 插件
- bash/zsh/fish 的补全
- JSON 输出
安装
# As root:
curl -sSL https://raw.githubusercontent.com/soywod/himalaya/master/install.sh | sudo sh
# As a regular user:
curl -sSL https://raw.githubusercontent.com/soywod/himalaya/master/install.sh | PREFIX=~/.local sh
配置
# ~/.config/himalaya/config.toml
name = "Your full name"
downloads-dir = "/abs/path/to/downloads"
signature = """
--
Regards,
"""
[gmail]
default = true
email = "your.email@gmail.com"
imap-host = "imap.gmail.com"
imap-port = 993
imap-login = "your.email@gmail.com"
imap-passwd-cmd = "pass show gmail"
smtp-host = "smtp.gmail.com"
smtp-port = 465
smtp-login = "your.email@gmail.com"
smtp-passwd-cmd = "security find-internet-password -gs gmail -w"
评论
