Fixes image url for email layout.