Archives notmuch indexed emails by year and month. It'll find all emails on inbox from a starting year and archive them monthly up until last december. You end up with an inbox for the current year. Archived email can be found under the archive tag plus year-month tags. Files are moved to ~/Maildir/.Archive.Year.Month/cur. It'll also phisically remove email tagged as deleted during those months.
maildrop is a replacement for your local mail delivery agent. maildrop reads a mail message from standard input, then delivers the message to your mailbox. maildrop knows how to deliver mail to mbox-style mailboxes, and maildirs. "maildir" is a mailbox format used by the Courier mail server and Qmail.
maildrop optionally reads instructions from a file, which describe how to filter incoming mail. These instructions can direct maildrop to deliver the message to an alternate mailbox, or forward it somewhere else. Unlike procmail, maildrop uses a structured filtering language.
This program can pull email and labels (and changes to labels) from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back remotely to your GMail account.
Astroid is a lightweight and fast Mail User Agent that provides a graphical interface to searching, displaying and composing email, organized in threads and tags. Astroid uses the notmuch backend for blazingly fast searches through tons of email. Astroid searches, displays and composes emails - and rely on other programs for fetching, syncing and sending email. Check out Astroid in your general mail setup for a suggested complete e-mail solution.
Alot is a terminal-based mail user agent based on the notmuch mail indexer. It is written in python using the urwid toolkit and features a modular and command prompt driven interface to provide a full MUA experience as an alternative to the Emacs mode shipped with notmuch.
Bower is a curses frontend for the Notmuch email system. I wrote it for me, but you might like it, too.
bower is written in Mercury.
As Emacs user I always want to use Emacs interface to edit documents. When I write e-mails, I also do, so I tried to introduce notmuch, emacs and offlineimap. As a result I feel notmuch on emacs is very useful in terms of tagging, searching, and emacs interface.
Some configurations below were not on the web, so I note here. If you follow my way to handle e-mails, this may help you.
I have tried to get my mail in the traditional Unix way, with an MTA, MDA, MRA, MUA, all that stuff. It was a huge pain. With some more modern programs, though, I can have a setup that still follows the Unix philosophy of single-purpose programs working together, while being a lot easier to understand.
There are four main programs in my setup:
- offlineimap: fetch mail from servers
- notmuch: index and search local mail
- alot: read indexed mail
- msmtp: send mail to servers
My current setup involves four major componenets. Offlineimap to fetch email, notmuch to index email, Astroid to view/search/read/write emails and msmtp to send emails.
notmuch stores all of your mail locally on one machine. Hence, until now, if you wanted the full benefit of notmuch tags, you could only conveniently read your email on a single machine. Muchsync brings notmuch to all of your computers by synchronizing your mail messages and notmuch tags across machines. The protocol is heavily pipelined to work efficiently over high-latency networks such as mobile broadband. Muchsync supports arbitrary pairwise synchronization among replicas.
Its basic task is to provide automatic tagging each time new mail is registered with notmuch. In a classic setup, you might call it after 'notmuch new' in an offlineimap post sync hook.
If you've been looking for a fast, global-search and tag-based email system to use within your text editor or in a terminal...
If you're the kind of person that gets excited about being able to write shell scripts for exploring and manipulating your email...
If you're a developer of an existing email program and would love a good library interface for fast, global search with support for arbitrary tags...
If you want the convenience of fast, reliable search of all your email, but don't want to give a 3rd-party access to your email...
Then notmuch may be exactly what you've been looking for.
I can identify three driving forces in my attitude to email. First there is a desire to be in control. I want my email to be stored primarily on my hardware, preferably in my home. For this reason, various popular hosted email services are of little interest to me. Second is the difficulty I have with throwing things away; I'm sure I'll never want to look at 99.999% of my email a second time, but I don't know which 0.001% will interest me again, and I don't want to risk deleting something I may someday want. Finally, I am somewhat obsessive about categorization. "A place for everything, and everything in its place" is a goal, but rarely a reality, for me. Email is one area where that goal seems achievable, so I have a broad collection of categories for filing incoming mail, possibly more than I need.