This function retrieves the email address for the user specified in the argument passed to the function.