student email field behaves correctly