fix host for url in email