CLI to manage emails
Go to file
Igbanam Ogbuluijah 45aac9fbec
delete vim read buffers on list msgs (#224)
0.5.0 came with the amazing option of reading the mail in the same view.
The issue with this is, if you go back to the message list and read some
new mail, it opens a new pane to read the new mail. This change follows
the path of modern mail readers which have one pane to load the email in.

Technically, this change closes any open "Himalaya read message" pane
before creating a new one. This close-open should create the illusion of
having the same pane reload the content.

A possible extension of this would be to clear the contents of the pane,
and re-use the same pane to load the new message. A good time to go this
extension is if Himalaya chooses to use persistent connections to the
mail server.
2021-10-14 14:04:52 +02:00
.github refactor msg model (#173) 2021-09-11 00:35:22 +02:00
.vscode add nix support (#76) 2021-04-18 00:06:11 +02:00
assets add .desktop file (#161) 2021-06-03 15:33:25 +02:00
src add mailbox handler tests (#225) 2021-10-14 12:52:30 +02:00
tests refactor config and account system 2021-09-14 00:34:34 +02:00
vim delete vim read buffers on list msgs (#224) 2021-10-14 14:04:52 +02:00
wiki@061a644f0e release v0.5.0 2021-10-11 00:06:46 +02:00
.gitignore add nix support (#76) 2021-04-18 00:06:11 +02:00
.gitmodules import wiki as submodule 2021-04-04 15:32:11 +02:00
Cargo.lock improve text parts (#221) 2021-10-11 23:04:33 +02:00
Cargo.toml improve text parts (#221) 2021-10-11 23:04:33 +02:00
CHANGELOG.md add missing issue changelog v0.5.0 2021-10-11 00:37:52 +02:00
default.nix refactor msg model (#173) 2021-09-11 00:35:22 +02:00
flake.lock fix vim plugin + update flake references (#182) 2021-08-03 15:11:52 +02:00
flake.nix remove extra version (#183) 2021-08-03 15:15:38 +02:00
install.sh fix install.sh bin name 2021-05-08 22:52:43 +02:00
LICENSE improve readme 2021-01-17 17:07:23 +01:00
README.md add homebrew release badge (#165) 2021-07-01 10:27:22 +02:00
rustfmt.toml refactor msg model (#173) 2021-09-11 00:35:22 +02:00
shell.nix refactor msg model (#173) 2021-09-11 00:35:22 +02:00

📫 Himalaya

gh-actions gh-actions gh-actions Homebrew

CLI email client written in Rust.

The project is under active development. Do not use in production before the v1.0.0 (see the roadmap).

image

Motivation

Bringing emails to the terminal is a pain. First, because they are sensitive data. Secondly, the existing TUIs (Mutt, NeoMutt, Alpine, aerc…) are really hard to configure. They require time and patience.

The aim of Himalaya is to extract the email logic into a simple (yet solid) CLI API that can be used directly from the terminal, from scripts, from UIs… Possibilities are endless!

Installation

# 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

See the wiki for other installation methods.

Configuration

# ~/.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"

See the wiki for all the options.

Features

  • Mailbox listing
  • Email listing and filtering
  • Email composition based on $EDITOR
  • Email manipulation (copy/move/delete)
  • Multi-accounting
  • IDLE mode for real-time notifications
  • Vim plugin
  • Completions for bash/zsh/fish
  • JSON output

See the wiki for all the features.

Sponsoring

github paypal ko-fi buy-me-a-coffee liberapay

Credits