I need assistance with power apps sending an email certificate with dynamic content from an edit form screen when a button is pressed.
Below is how the edit form looks like.

Below is the formula.html code I am trying to use when I click a button. I am not an expert in HTML code that where I need assistance with.
Office365Outlook.SendEmailV2(
DataCardValue8.Selected.Email,
"Testing HTML",
"<div style='width:800px; height:600px; padding:20px; text-align:center; border: 10px solid #787878'>
<div style='width:750px; height:550px; padding:20px; text-align:center; border: 5px solid #787878'>
<span style='font-size:50px; font-weight:bold'>Compensation Statement</span>
<br><br>
<span style=''ont-size:25px'><i>2021 Action</i></span>
<br><br>
</div>
</div>"
)
Below is an example template of certificate I am trying to create using HTML codes.

Any help on this will be highly appreciated.
Thanks
Lio