My flow agenda:
1. i am extracting first 25 applications with their displayname, appid and password credentials with below http request in power automate.
https://graph.microsoft.com/v1.0/applications?$top=25&$select=displayname,appid,passwordCredentials
2. I want to parse the body of http such that i can extract displayname,appid and passwordCredentials
3. now i want to check for null values in passwordCredentials using condition.
4. if the passwordCredentials is not null, again parse this passwordCredentials such that i can extract enddatetime from it.
5. then again i need to check a condition for enddatetime whether it is greater than current date.
6. if the enddatetime is greater than current date then i need to output the displayname of app, appid and enddatetime in a html table.
7. finally send email with output of html table.
Error:
But after checking the condition enddatetime > utcnow(), I used html table to output the values and then append variable.
But when i use send email action with the output of variable, it shows headers added to each row and also it is not in a perfect html tablular format.
output i got in email:

Flow looks like this:

flow looks like this after the date check condition:

--->need help with where I can exactly insert html table action and email action to get only one email with results of all the apps with their displayname, appid, expiry(enddatetime) in tabular format