$('#inbox-right').on('scroll', (e) => {
    if (!data.read) {
      markRead.call({
        threadId
      }, (err, res) => {