Mautic Community Forums

Leads with one or more related entities

Hi,
Let’s suppose I have one lead:
fname1,lname1,email1

and two related products to this lead:
product_image1,product_name1,product_price1
product_image2,product_name2,product_price2

How can I send an email to email1 and include into email body both products with email price and name. I can have many leads with different number of products.
I tried to use custom tokens into email, but I can’t send html through. Tokens value are escaped. I can add custom columns for every product column, but every lead can have different product quantity. Is there a possibility to automatize this example? Thanks.