added needed checks for threaded modmail.