Updated email service to use the host from the config.js for email links