How to retrievd logged in user emailid dynamically and send email to the logged in user

How to retrieve logged in user’s email id dynamically and send an email notification to the logged in user via email connector?

Any help is appreciated.