How do I get the Keycloak users that are part of the same client?

I am making a platform using Nodejs in which you authenticate with Keycloak. Right now I am working with an update for the user management of that platform.

In order to do this, I need to get all the users that are part of the same Keycloak client. Then I will do some manipulations on my own which I have already solved.

However, from what I have searched I do not think that Keycloak has a feature in which i can get the user emails that are part of the same client. Is there a workaround after this?