Need to get mail from LDAP when CentralRepository is used


I have configured the portal to use a LDAP repo for my users and roles (ActiveDirectory)

My integration Servers are configure to use the central repository.

I have a Flow service that get userId and need to send email to this user, so have to connect to LDAP to get it.

Any idea to use the CentralRepo from the integration server to get the email?

I have seen that there is WmPublic.client.ldap services, but it’s need to add DALP configuration information in it. (and i also have some weird authentication problems to connect to ActiveDirectory)

thanks for all