Get User Email ID and send email to that - PDM PAI

Hi,

May I know how to get user's email id by their name and send email with specified body?

Thanks

SolidworksApi/macros