decode encoded links in email

when the email is HTML the urls are html encoded and need to be decoded