implementing email configurations