docs: def get_user_id_from_email(self, email):
          """ Uses the get-all-user-accounts Portals API to retrieve the
          user-id by supplying an email. """
          accts = self.get_all_user_accounts()
  
          for acct in accts:
              if acct['email'] == email:
                  return acct['id']
          return None