update to env for email settings