clicking received links will update viewed attribute and opens them in a new tab