better student email handler