Mail

By chimo on (updated on )

Once again, I'm just documenting part of my setup. It's nothing that hasn't been done before (it's just a collection of different utilities, barely deviating from the out-of-the-box configuration, really). This time, we're talking about mail.

MUA

I do like me some command line, so my mail client is `neomutt`. I'll be honest, I don't know exactly what the differences are compared to mutt, but it's been working well so I'm not complaining.

I'm pretty excited about `aerc` though. It has some interesting features and ideas, such as an embedded terminal and highlighting patches with diffs. Of course, the first thing I did when I installed it (after testing the standard read/send mail features) is post a notice to my GNU social instance by calling `identicurse` from within `aerc`.

Receiving mail

I'm using `offlineimap` to receive mails and save them locally. neomutt then reads the mail from there. Having the content locally allows me to run other utilities on the data without them having to be network/IMAP/etc aware. Some examples are searching (more on that later) and mail notifications via mako/swaybar/swayblocks.

Address book sync

I'm using `vdirsyncer` to sync my address book (and calendar, but I'm not using anything to display calendar data yet) from my nextcloud instance.

Address book integration with (neo)mutt

I'm using `khard` as a console carddav client and used the following settings to integrated it with (neo)mutt.

Searching mail

I'm using `notmuch` to search mail within (neo)mutt by using the following key-bindings.