Add function to query a user by their email address.