Meli – email client in the terminal, in the spirit of mutt
git.meli.delivery
git.meli.delivery
It's amazing!
The latest version also handles MFA authentication out of the box.
But the most important functions for me today in an email client are 1. fast search and 2. auto-complete of contacts and Pine/Alpine was lacking there.
(Gmail has great search but its UX overall is lacking - I find it confusing in many ways and it suppresses important information (e.g. headers, sometimes even an e-mail's subject line). It would be nice to have a non-cloud email client with such a fast search.)
## Installation
### Binary Packages
Recent versions of aerc are available on:
- [Alpine] - [Arch] - [Debian] - [Fedora] - [macOS through Homebrew]
And likely other platforms.
### From Source
Install the dependencies:
- go (>=1.16) (Go versions are supported until their end-of-life; support for older versions may be dropped at any time due to incompatibilities or newer required language features.) - [scdoc](https://git.sr.ht/~sircmpwn/scdoc)
Then compile aerc:
$ makeI am able to induce a crash pretty reliably (by pressing J or K at a fast rate), and probably there are other minor bugs hidden. But aerc is good enough to be my daily driver for my workflow.
You can group tag messages on mutt with any pattern you'd like and then move them. Or, you can limit your view to what you want to move, select some and then move them.
(Γεια σου Θανάση! μάνος από εμπ και meli dev)
For doing a move of multiple messages into a folder on an ad-hoc basis in the mutt UI, you select your messages however you want (eg using a regex over subject or sender or whatever) and use semicolon to modify your move command to mean "move all selected" rather than just "move this message".
My mail-sending script; tested only on OpenBSD:
#!/bin/sh
#
# Save a copy of an email in Sent, then send it with sendmail.
set -e
TMP=$(mktemp -d)
cat > "$TMP/message"
notmuch insert --folder=Sent < "$TMP/message"
sendmail -f falsifian@falsifian.org "$@" < "$TMP/message"
rm -r -- "$TMP"How do attachments and images work?
Does it work with O365? Can I sync my calendars?
Why not just use thunderbird or something?
Genuinely curious
Attachments are downloaded with a few keystrokes, I also have a command to "open in browser" if I really really need to see the images which is rare.
I do use mine with Outlook Mail, but it just does mail. I'll bet there's probably a calendar sync thing.
And the why is speed, overwhelmingly. I don't delete any email and I don't have to use spam filters because it's THAT FAST. I can "move" literally as quickly as it takes to identify the message and decide what to do with it (read, not-read and skip, respond etc)
I just archive EVERYTHING that's read, and make a separate note in my todos if there's something I need to act on that isn't a reply. Replying to humans is very quick too, which is really the only thing I need from email.
Images: you can select to view HTML emails on the browser (default is plain text generated by w3m) but it should be possible to use some other script instead of w3m that shows images in your terminal.
No calendar support, it's just email (well, and NNTP)
WHy not use thunderbird? Hm it's personal taste. Since I'm on the terminal most of the time, I find it more convenient. But obviously Thunderbird is the best GUI client since it's most mature, stable and it's open source.
But what would be interesting is "command-line" for a modern email client. Similar in spirit to the old mh, perhaps. Concise commands for viewing folders, threads, searching, composing etc. Which integrate well with grep, xargs etc. for bulk operations.
Rather than IMAP support, the heavy lifting of sync'ing Maildir folders could be done by dovecot, with searches by mairix.
However, mblaze looks very promising. Thanks for that. It's almost literally what I had in my minds eye. It's light on dependencies and also packaged for Alpine Linux which is a good sign, and means I'm already trying it! :)
https://notmuchmail.org/doc/latest/
See for example notmuch-search and notmuch-tag.
Maybe you are thinking of notmuch-emacs or some other full blown client. There are many https://notmuchmail.org/frontends/
Notmuch’s core is largely in C and I believe the only serious dependency is Xapian.
You must be completely confused with some other tool. notmuch is a command line tool.
I did dabble afterwards with some simple utilities for scripting mail, showing a list of folders, showing a list of messages in a folder, or viewing a single mail.
After spending so long working on my own client I could never be enthusiastic enough to really take it much further, but for reference the tools still work, against a local Maildir hierarchy:
But my god this client is beautiful
According to this blog post https://a.exozy.me/posts/gitea-actually-joins-the-fediverse/
I can't tell if you're intentionally joking or are actually unaware of that being maybe a little much.
Because I haven't, and having everything in one folder works just fine with the clients I use.
Most importantly is the use of a mail indexer (notmuch currently) for searching and getting virtual mailbox viewes.
Right now, on my main mail, I have ~400 mails in Trash, but only 10 in Inbox and Archive + another dozen in Sent.
Right now, I've been looking for the email address of the landlord of the house I lived in until 2009. I'm happy that I didn't remove his email saying that his son would come on Friday to fix the door handle.
The same letters slapped into SQLite the most brute way would work (and perform better), so why the embarrassing slowdown?
That doesn't include most mailing lists, because those are sorted into their own separate folders using procmail.
I use Neomutt with Notmuch, btw. It generally loads in a fraction of a second.
I used to try to keep on top of mail. I don't any more.
> NAME > Meli Mail User Agent. meli is the Greek word for honey
https://github.com/jaytaylor/html2text
I think the classic approach is to use something like lynx or w3m with networking disabled, but I wasn't impressed with the output.
Source: self, Fijian.
For example, a mail ship would be called meli sitima (mail steamer). The postal service is also called meli.