# Leads with one or more related entities

**URL:** https://forum.mautic.org/t/leads-with-one-or-more-related-entities/10317
**Category:** Product Support
**Created:** [March 6, 2018, 10:02am UTC](https://forum.mautic.org/t/leads-with-one-or-more-related-entities/10317 "2018-03-06T10:02:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)
#### Post date: [March 6, 2018, 10:02am UTC](https://forum.mautic.org/t/leads-with-one-or-more-related-entities/10317/1 "2018-03-06T10:02:02Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [October 17, 2019, 4:34pm UTC](https://forum.mautic.org/t/leads-with-one-or-more-related-entities/10317/2 "2019-10-17T16:34:10Z")

</div>


