FIX Handle empty URLs that are made absolute

When the email sender makes the links absolute, it can't handle empty `href` or `src` attributes as there's no expectation that the string length could be 0
Merge pull request #3323 from dhensby/patch-2

FIX Handle empty URLs that are made absolute