typo missed passing tmp_email, tmp_api_key for some api.