CLI to manage emails
Go to file
Igbanam Ogbuluijah 794860befe
Fix the message list bug (#216)
With the current version of Himalaya, the Vim front breaks because it
can't find headers.subject in the JSON output from Himalaya. The JSON
output today from Himalaya representing a message looks like so

```json
    {
      "uid": 12345,
      "flags": [],
      "subject": "Subject",
      "subject_len": 7,
      "sender": "Sender",
      "sender_len": 6,
      "date": "2020-12-11 06:38:19"
    },
```

This reverts some of the changes in b9a9d0e, but not all of them.
2021-10-10 09:10:37 +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 review template, write and search commands 2021-09-19 17:21:42 +02:00
tests refactor config and account system 2021-09-14 00:34:34 +02:00
vim Fix the message list bug (#216) 2021-10-10 09:10:37 +02:00
wiki@51bc2d4402 put back wiki as git submodule 2021-09-11 00:50:58 +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 Remove unused lettre_email crate (#209) 2021-09-29 22:32:59 +02:00
Cargo.toml Remove unused lettre_email crate (#209) 2021-09-29 22:32:59 +02:00
CHANGELOG.md replace error-chain by anyhow (#152) 2021-09-13 11:52:20 +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