update email configuration