Hi @leave-me-alone,
You could use an adaptive card and click a button. After this button you could use an Graph API call to create the draft e-mail message.
I have blogged about that draft e-mail creation approach a couple of years ago:
https://www.expiscornovus.com/2021/04/14/draft-mail-message-for-a-selected-item/
Below is an example
1. A Get my profile (v2). This action collects the id and mail
2. A Post adaptive card and wait for the response
a. uses the json below for the Message field
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"id": "Title",
"text": "Create Draft Email",
"horizontalAlignment": "Left"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Create Draft Email"
}
]
}
3. A Send an HTTP request (Office 365 Groups connector)
a. Uses the URI below
https://graph.microsoft.com/v1.0/users/@{outputs('Get_my_profile_(V2)')?['body/id']}/messages
b. Uses the Body payload below
{
"subject":"E-mail template flow",
"importance":"Low",
"body":{
"contentType":"HTML",
"content":"They were <b>awesome</b>!"
},
"toRecipients":[
{
"emailAddress":{
"address":"@{outputs('Get_my_profile_(V2)')?['body/mail']}"
}
}
]
}
