Hi @Station1901 ,
Do you want to use data in a gallery as email body?
If so, the key point is how to write the email body by using html text. (Use html text to represent the data in the gallery.)
Firstly, save the data in the gallery as a collection.
ClearCollect(collection1,gallery1.AllItems)
Secondly, send a table by using html text:
Office365.SendEmail(
"email address",
"subject",
"<h3>tablename</h3>" &
"<strong> Items: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>fieldname1</th> <th> fieldname2 </th> <th> fieldname3 </th><th> fieldname4 </th>
</tr>
<tr>" &
Concat('The data source/formula that you provided within the Items property of your Data Table control',
"<td>" & fieldname1 & " </td>
<td>" & fieldname2 & " </td>
<td>" & fieldname3 & " </td>","</tr><tr>") &
"</table>",
{
IsHtml:true
}
)
Please replace the tablename,data source, field names in your issue.
Here's a similar issue in details for your reference:
https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-email-a-collection-as-attachments/td-p/328061
Best regards,