web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email with opt...
Power Automate
Unanswered

Send an email with options UserEmailAddress returning blank

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have a weird issue. I have the simplest of all Flows set up

Trigger: manually trigger a flow

Send an email with options (Approve, Reject)

When the receiver approves or rejects I just want to capture their email. 

So I have a variable set to the UserEmailAddress from the "Send email with options" action. But it's returning blank.

I set a condition on the response, so if response = "Approve" send an email and that is working fine, so Flow is able to capture the response, but not the email address. Can anyone successfully capture the responder's email address?

I basically just need to know who is actually responding to the email, and document that.

 

Before you say "you should just use approvals" - I need to include an html table in the body of the email. 

Before you tell me to try markup - I have, it doesn't render in the Teams "approval" notification, and also doesn't seem to be very friendly in terms of dynamic column sizing. 

So this is (to my knowledge) my only option. 

Categories:
I have the same question (0)
  • savelazq Profile Picture
    Microsoft Employee on at

    Hi,

    I have an example on how to capture the approver’s email and be directly sent to the recipient as a response.

    You can still make your flow work without using variable; however, you can use variable if you want to.


    Please look at the example provided below

     

    Within the body of the email click to Add an Expression (fx blue icon)

    exp.png

    Type this line: 

     

     

    body('Start_and_wait_for_an_approval')?['responses'][0]['responder']['email']

     

     

    body.png

    email.png

     

    Example of e-mail received

     

    example em.png

     

    Regards,

    Sam

    -------

    Community Support Team _ Sam Velazquez

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Sam thanks for this but I'm specifically avoiding the "approval" actions because I need to include an html table and that does not work in that action

    So I need this to work with the "Send an email with options" action. Can you test that action and see if you are able to get the responder's email?

  • Power Platforms Communities Support Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thanks for you response. Would you please send us more details about your flow would be great if you send us screenshot for your flow.  

     

    Regards,

    Darshan

    -------

    Community Support Team _ Darshan Amin

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here is the run, notice that the variable is empty:

     

    EmailWithOptions1.png

    And here is the configuration

    EmailWithOptions2.png

     

    Can you try recreating this flow? Are you able to extract the responder's email address in any way??

  • Power Platforms Communities Support Profile Picture
    Microsoft Employee on at

    Hi, 

     

    I run the same flow and it seems working for me, I'm able to see responder's email address as well as email from flow. attaching the screenshot for the reference

     

    Email results..PNGFlow.PNG


    Regards,

    Darshan

    -------

    Community Support Team _ Darshan Amin

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Ok, I have no idea why mine is not working then...

    The UserEmailAddress doesn't even show in the action:

    Flow1.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Ok, I have narrowed it down a little further. It looks like the buttons in the preview DO work, but in the body they do not. 

    See below: the buttons under "your input is required" work, but the buttons in the body don't. For specific reasons I NEED these body buttons to work. FLOW_Issue.png

     

    If you run the flow and try to use the buttons in the body of the email, does it work?

  • Power Platforms Communities Support Profile Picture
    Microsoft Employee on at

    Hi, 

     

    I checked the flow again and button on the body part of the email seems working for me as well. Opening a support case with outlook team seems a good option to get more assistance on this issue.  

     

    Regards,

    Darshan

    -------

    Community Support Team _ Darshan Amin

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hihi,

    Was this ever solved, I'm running into this exact same issue and I'm not sure what is the solution.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey, no I think it has to do with email security settings. I think my org has some html blocking settings or something, which meant that this just would never work for us. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 495

#3
Vish WR Profile Picture

Vish WR 429

Last 30 days Overall leaderboard