Fix email configuration