TIL - notmuch-lore
TIL, Today I Learned, is more of a "I just figured this out: here are my notes, you may find them useful too" rather than a full blog post
Notmuch [1] is an mail indexer and is a great tool to search in high-volume mailboxes (e.g. mailing lists). Being subscribed to all these mailing lists and retreiving all mails over IMAP daily could be quite annoying and harm your mail quota.
Therefor, public-inbox [2] makes archives of many of the public maling lists out there and makes it available in a git repository.
That is good, but you want to read your emails in your email-client, right?
notmuch-lore
notmuch-lore is a script written by Tobias Waldekranz [3] which is intended to be used as a pre-new-hook together with notmuch. Tobias is actually an old colleague of mine, we worked together over 10 years ago before he moved to another city.
notmuch-lore connects the public-inbox repositories and convert them to Maildir format so that notmuch can read them. Many tools could then be used as a front-end to notmuch, including vim and mutt :-)
How to setup and use notmuch-lore is well described in the README file of the project [3], so I'll leave it to that.
I encourage you to take a look if you also spend a lot of time on mailing lists!