Added backend getUserFromEmail

Similar to getUserInfo, but either of the user's emails must be provided
instead of id.