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