Notifications
Announcements
I have a PowerApp displaying emails for users and I want to be able to have the user open the email by selecting from PowerApps and launching the selected email in OWA. Is this possible? Would I need to use Power Automate?
@vysta - I am guessing you are using Outlook.com connector in your app to display emails. If so, you could try something like this:
Set( gblEmailOWAUrl, "https://outlook.office.com/mail/inbox/id/" & EncodeUrl(First(colEmail).ConversationId) ); Launch(gblEmailOWAUrl)
Note: colEmail in my example above is a collection of emails loaded by calling Get Emails.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.Thanks
Hi @vysta ,
Please try to put the following code to OnSelect property of Email label.
Launch("https://outlook.office.com/mail/deeplink/compose?to=" & Self.Text &"&subject=Customer Service Request&body=Add+Your+Request+here")
Hope this helps.
Sik
Yes, @UdayAdhikari that launches OWA but it does not open the selected email from PowerApps. I would like to open the actual email message in OWA or at least default select the message so it is the correct one being previewed
@vysta - I would confirm that the email is in Inbox folder and not in other folders. Here is a base code that I was testing with and I am able to open emails fine. Note: Change first part of the URL as required, I was testing against my personal outlook email address with no Office 365 license.
@UdayAdhikari That did the trick! I changed the URL to Launch("https://outlook.office.com/mail/inbox/id/"&EncodeUrl(Gallery1.Selected.ConversationId)) and was off to the races!
Thank you!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268