function to mark a thread as read in notmuch
fix for ktm-mode