This Sample vRealize Orchestrator Action shows how to get the E-Mail Address from an Account in vIDM.
How you get the vIDM Bearer Token can be found here https://code.vmware.com/samples?id=7514