email settings in constructor