Yes, in the loop you can pass the identityId and in the context you can pass the email.
What I mean is: if you have two different API calls — the first one gives you the identityId. If you need to use any other attributes from the output of that first call, you can pass them inside a loop. Then, use the result of the second API call as the context. Inside the loop, you can access and use it in the way I showed in the image.