I am working on a workflow that takes some time to finish the execution. My workflow can be run by different users in a team. Since the workflow takes some amount of time to complete, what I want is to fetch the email address of the logged in user who triggered the workflow.
Once I have the email address, I can send an email to the use with the url of the workflow run.
I came across github.actor but this returned me the login name for the user logged in. What I really want is the email address of the logged in user.
Any pointers how to get the email address?