email functionality added to training page