Handle email output in Student class not view