fix issue with links in mails.