Below, please find a screen capture of the Retool version of a generated email.
I get the general idea of how it works but I need to be able to run this from a table that would include the name of the person receiving the email and name of the person sending the email. The content would also need to come from the table.
Like most of Retool, you can dynamically change values in a query using JS escape brackets. To send this email en bulk with dynamic changing variables, you can also loop this using JS JavaScript within Retool | Retool Docs
I ran into something similar and found that using an email deliverability platform helped a lot. Things like SPF, DKIM, and domain reputation were messing with Retool emails showing up in inboxes.
Once I had tracking and DNS configs cleaned up through the platform, deliverability got way better. I also switched to sending from a subdomain to keep things cleaner.
My latest version is below. This is intended to produce an email for all rows in the table.
The last line is EmailForm2.trigger().
The console output (see last 2 screens) is showing correct output for each row of the table but the Emails that arrive only come for the last row in the table.