email host fix for production