top | item 33166054

Aerc – a pretty good (terminal) email client

205 points| davegauer | 3 years ago |aerc-mail.org

50 comments

order

mtlmtlmtlmtl|3 years ago

It brings joy to my heart to still see these simple web 1.0 pages.

And the front page has almost all the information I care about as a terminal luddite: vim bindings, etc.

One point of criticism: it says extensible, but it's not very clear how exactly it's extensible. What language is used for extensions? Go? Scripts + conf files with hooks? The front page makes no mention, nor does the source page, and I've yet to find it by clicking around the wiki.

ddevault|3 years ago

aerc is plugged into your surrounding Unix environment more deeply than most mail clients. It has a keybindings system which is like a more generalized version of Vim, plus an embedded terminal emulator and support for piping things through shell commands, and a templating system.

Example: to apply git patches, I have this in ~/.config/aerc/binds.conf:

    ga = :flag<Enter>:pipe -mb git am -3<Enter>
To reply to thank the contributor, I have this:

    rt = :unflag<Enter>:reply -a -Tthanks<Enter>
The "thanks" template invoked by this shells out to git to include a summary of the git push and set a special mail header to update the mailing list on the status of the patch:

    X-Sourcehut-Patchset-Update: APPLIED
    
    Thanks!
    
    {{exec "{ git remote get-url --push origin; git reflog -2 origin/master --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf 'To %s\n   %s..%s  master -> master'" ""}}
Hope that helps.

dogline|3 years ago

So, given that with email, the important part is the data, and not the client, I was able to give this client a spin. Not bad. I was able to go though my recent email, view some HTML email I keep getting, and mash through things without a lot of problems. Maybe I'll stick with this client? ::shrug::

This is one of the few domains where you can play with different client still. And there can be innovations here with CLI versions, which I like.

Reading other comments in the thread, it sounds like ddevault has ideas for the next version. If so, that's cool, and it should be easy to try out.

rickstanley|3 years ago

I tried to sign-in into my work Outlook account with aerc a while ago, from WSL2, unfortunately it didn't work with an app password[0], and OAuth2 won't cut it, because I'll have to ask the company's services administrator to grant me access.

Nevertheless, a great piece of software. Using it for personal e-mail.

[0]: https://support.microsoft.com/en-us/account-billing/manage-a...

kanisae|3 years ago

I use aerc with o365 via davmail and mbsync. Using imap directly was to slow, but pulling mail to a maildir works well. Davmail handles all the o365 interaction and supports mfa directly.

nominusllc|3 years ago

I like it. It's somewhat reminiscent of this one we used to use called Pine :) I think sourcehut guy made this, right?

edit: yep sourcehut guy. they also made this cool guide here: https://git-send-email.io/

mburee|3 years ago

Also sway, but hacker news doesn't always hold him in that high of an opinion, probably mostly of his Rust criticisms...

But I use many of his tools, all top notch!

aidenn0|3 years ago

I use an email client called bower, which is fairly light on features, but has one killer feature: it works with remote notmuch databases.

So I get great search, but can easily open attachments locally, or even compose in a GUI editor.

danobi|3 years ago

Was threading support ever added? I recall there being a few attempts. I tried aerc out for quite a bit but ultimately had to give it up for neomutt b/c mailing list discussions were impossible to follow without threading support.

globular-toast|3 years ago

I'd love to use a lightweight email client. I've tried several in the past. When conversing with others who know how to use email, like free software mailing lists, for example, they are a joy to use. But as soon as you have to interact with the Microsoft shite it just doesn't work. Things just start breaking in random ways and you're never really sure if you're getting the message you're supposed to be getting. Since I mostly use email for work, I've found Thunderbird to be the only good option.

petemir|3 years ago

I have been using it for the last weeks. It’s nice, although I didn’t have good luck with the documentation. I think some of the examples and capabilities are lacking, and the procedure for reporting/asking something seemed really convoluted with respect to something more plain like GitHub. Furthermore, another problem that I have is that sometimes I lose connection to the mail servers, and it’s imposible to recover it without closing and reopening the app. I am missing something like reconnect/refresh.

capableweb|3 years ago

> Asynchronous IMAP support ensures the UI never gets locked up by a flaky network, as mutt often does

Seems to have been made with flaky connections in mind, would be weird if there wasn't a way to recover.

But on that note, isn't it local/offline-first? The first feature that comes in mind for a email client is "download all mail to store locally so I can browse/search them anytime", is that not how this client works?

emptysongglass|3 years ago

Love Aerc but if I'm going to jump ship from Betterbird/Thunderbird I really need a lightweight calendar app to pair Aerc with as that's a vital part of my day to day. Any recommendations?

jarbus|3 years ago

I really am in need of a terminal email client that can handle multiple inboxes with vi keybinds out the box. This looks promising

mpalczewski|3 years ago

I love it, answers the question. “What would vim be like as a web client” I use it regularly.

anthk|3 years ago

That's Mutt.

blacklight|3 years ago

What's the added value when compared to more mature solutions like mutt or neomutt?

williamvds|3 years ago

I initially tried neomutt before moving to aerc and haven't looked back since. My memory of neomutt is pretty hazy, but I feel aerc has a much simpler setup process (it has built-in SMTP support) and a less steep learning curve. aerc's defaults feel more sane, particularly as a Vim user.

For reference, my setup is having offlineimap sync mail to/from my local maildir. aerc fills the rest of gaps with viewing, composing, and sending mail.

jpe90|3 years ago

I swapped over to aerc from mu4e, it’s very pleasant to use. I would easily recommend it.

imachine1980_|3 years ago

Why this over regular client ?

zaik|3 years ago

I want to make aerc my email client. Hopefully it gets S/MIME support soon.