Moving email configuration to sample
Adding email setup to the process