make notmuch query configurable

I am subscribed to multiple public mailing lists and I don't want to have these addresses in my address book.

Therefore I'm proposing this patch which makes the notmuch query string configurable.