[sprint 6] exceptions handling email setup