Is it possible to add email templates programatically?

Ray Li

I would like to generate email templates that have a list of products. The products are constantly changing. What I can do is write a script to generate an email template containing those products. The problem is getting that generated template to be sent by Mailwizz. Is what I am asking to do possible?