Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Send an email with options UserEmailAddress returning blank

(2) ShareShare
ReportReport
Posted on by

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. 

  • Eraser67 Profile Picture
    4 on at
    Re: Send an email with options UserEmailAddress returning blank

    Any hopes for this issue ?

  • kat_rock Profile Picture
    96 on at
    Re: Send an email with options UserEmailAddress returning blank

    I know the original post is quite old now, but for anyone else having the same issue, I raised a ticket with Microsoft and they confirmed the issue @Anonymous  reported is still a problem in Sep-2023: i.e. you can only get the user's details if the user clicks the buttons in the preview/message card. If the user clicks the buttons in the html version of the email you can only get the user's selection, you will not get any other details like their email address. Microsoft say this is 'by design'.

    I've asked them if there is a workaround but I don't have high hopes.

    So it is still not possible to emulate the Power Automate approvals process and use html formatting. Seems your only options are sending your users a very suspicious (but secure) Approvals email or a nicely formatted (but unsecure) html email with options.

  • SimonHudson Profile Picture
    3 on at
    Re: Send an email with options UserEmailAddress returning blank

    I'm seeing exactly the same issue. I'm going to try it on another tenant that is not locked down to try to eliminate anything on the permissions and security side.

     

  • jhoff80 Profile Picture
    9 on at
    Re: Send an email with options UserEmailAddress returning blank

    This exact issue is breaking my intended automation as well.  The buttons in the preview work, but the HTML buttons in the message body don't.  Which unfortunately means that people who use their phones or a browser window to check their email and try to respond will break the flow.

  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email with options UserEmailAddress returning blank

    Still no resolution for me on this. 

    Had to resort to Teams Approval action and no HTML table in the body - which is a huge let down. 

  • VictorIvanidze Profile Picture
    12,212 on at
    Re: Send an email with options UserEmailAddress returning blank

    Hello,

    I've just tested. The same behavior: the buttons under "your input is required" work , but do not work the blue buttons under "Select one of options below to respond".

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email with options UserEmailAddress returning blank

    @Anonymous , @darshanamin26 , @savelazq 
    Facing the same problem, getting the userid and useremailaddress as null. Did anyone found a solution for this?

  • AnkitN Profile Picture
    6 on at
    Re: Send an email with options UserEmailAddress returning blank

    Hi @skillsy ,

    Were you able to get the cause/solution why "UserEmailAdress" is coming null.

  • skillsy Profile Picture
    97 on at
    Re: Send an email with options UserEmailAddress returning blank

    Thanks for posting @Anonymous  and just adding to this that I have set the three yes/no fields on the "Send email with options" to HTML: Yes , Hide HTML: No and HTML Confirm: No. and I get all nulls returned other than the selectedOption which is not optimal. It looks buggy rather than a security setting somewhere as I can't see a use case for not returning a name if internal user replied.null.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email with options UserEmailAddress returning blank

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow