@MatthewMandegar The solution provide by @v-chengfen-msft should work as you want.
For custom headers with spaces, you can just type out your headers with spaces in notepad (or similar) then just copy/paste them into the HTML table. You just can't type spaces directly into the HTML table.
For sending the email you would be sending the output of the HTML table using something like the following:
body('Create_HTML_table')
If you wanted to style the HTML table so it shows nicer in your email you can add some CSS. I generally add this into another Compose then add the Compose and Create HTML table output in my email. Some sample CSS below.
<style>
table {
border-collapse: collapse;
}
table td,
table th {
border: 1px solid #ddd;
padding: 6px 20px;
text-align: left;
}
table th {
background-color: #1C6EA4;
color: white;
}
</style>

Send an email contains output from Compose HTML table and Create HTML table.
