lib: provide _notmuch_database_log_append