code: def get_user_and_user_email_by_email(self, email):
          
          if self.UserEmailClass:
              user_email = self.db_adapter.ifind_first_object(self.UserEmailClass, email=email)
              user = user_email.user if user_email else None
          else:
              user = self.db_adapter.ifind_first_object(self.UserClass, email=email)
              user_email = user
          return (user, user_email)
docs: Retrieve the User and UserEmail object by email address.