# Send HTML email with data from a table - template

**URL:** <https://devforum.okta.com/t/send-html-email-with-data-from-a-table-template/31940>\
**Category:** Templates\
**Created:** [February 10, 2025, 6:01pm UTC](https://devforum.okta.com/t/send-html-email-with-data-from-a-table-template/31940 "2025-02-10T18:01:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxkatz](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/maxkatz/32/5624_2.png) [@maxkatz](https://devforum.okta.com/u/maxkatz)\
**Post date:** [February 10, 2025, 6:01pm UTC](https://devforum.okta.com/t/send-html-email-with-data-from-a-table-template/31940/1 "2025-02-10T18:01:18Z")

</div>

This template does the following:

1. Get list data from a Workflows table.
2. The List-Reduce card transforms the list data into an HTML table.
3. Send an HTML email with the table using the Gmail connector.

Set the To field email address in the Gmail card:

 ![Screenshot 2025-02-10 at 9.55.54 AM](https://global.discourse-cdn.com/oktadev/original/2X/3/3b573e0ed9947775b937a5217a4f5c737afa94d9.png)

Sample table data:

 ![Screenshot 2025-02-10 at 9.57.56 AM](https://global.discourse-cdn.com/oktadev/original/2X/2/2eca423dc90adf93fb39ecea1fcf04403a002a6f.png)

Download template:

[htmlEmailFromTableData.folder](https://devforum.okta.com/uploads/short-url/oPD6gpJr6aZdZA4Rp0UTTZMRaiC.folder) (24.3 KB)
