email settings fixes