Fix email settings