fixed the email settings