1 [notmuch][] is a clean mail indexer. You know you got an email from
2 someone with their current phone number, but can't remember where you
3 put it? Notmuch to the rescue:
5 $ notmuch show from:jdoe@example.com home phone
6 message{ id:DF741236-…@example.com … filename:/home/you/mail/…
9 John Doe <jdoe@example.com> (October 04) (inbox)
10 Subject: new contact info
11 From: John Doe <jdoe@example.com>
13 Date: Tue, 4 Oct 2011 18:08:57 -0600
19 part{ ID: 1, Content-type: text/plain
20 I've got a new home phone number:
33 [[Gentoo]] installation is simple:
37 (interactive creation of ~/.notmuch-config)
41 When you want to update the index, just run `notmuch new` again. You
42 can get fancy with [[offlineimap]] hooks:
45 postsynchook = notmuch new
47 but I just have a Bash alias in my [[dotfiles]] along the lines of
49 alias offlineimap-in='offlineimap && rm -f ~/mail/Junk/* && notmuch new'
51 You can also get fancy with [mutt integration][mutt], but I just
52 `grep` the search results on the command line to get what I want.
54 P.S. I'm cleaning out my backlog of half-completed blog posts today,
57 [notmuch]: http://notmuchmail.org/
58 [mutt]: http://git.upsilon.cc/cgi-bin/gitweb.cgi?p=utils/mutt-notmuch.git;a=summary