Want to send emails with custom block of html per recipient

Your software
My Mautic version is: 4.5.5
My PHP version is: 7.4.33
My Database type and version is:5.7.26-

Hey Community!

I want to send abandoned-carts, reminders, invoice links etc’ per recipient.
In many cases I want to send a block of html per recipient from another system that is hosted on the same server. I can easily generate the block of email on the other system.

What would be the simplest way to do it?

Thanks

I think this could be done in two ways:

  1. API using the create email, check out the documentation here: Mautic Developer Documentation
  2. Tokens. You could pass through a token using the API directly into your email, I am not sure if this can hold html or not but worth trying it out.

Youus can e the API for create email.