added notmuch hooks