Function to look up student email address

We need to find the student's email address from their username so that
they cannot send emails as a different user.