sending user's email to api