set up email env