Glad to hear I have another user! My function bbdb/notmuch-snarf-to doesn't work yet on more than one recipient. Once I get that working, I'd like to do what you suggest, and have some hook call bbdb/notmuch-snarf-to every time I send an email. Probably not before late August, though. bergey Daniel Reusche <danielr@physik.tu-berlin.de> writes: > On 12.07.2012 15:47, Daniel Bergey wrote: >> I hacked together the attached elisp yesterday. It provides bindings to >> put sender or recipients into bbdb. > > Awesome, thats just what I was looking for. > > Also on topic: I was working on a script (more a really long regex), to > import all the mail addresses from the notmuch db to bbdb, but as I just > started learning emacs lisp, it does not really work yet. > > The point you brought up there, with probably not wanting everyone in > the database could be an issue though. > Maybe some hook, that adds all the contacts to the bbdb that you replied > to by hand? > > best, > dan