# if statements in email templates

**URL:** <https://community.hubspot.com/t/if-statements-in-email-templates/15495>\
**Category:** HubSpot Ideas\
**Created:** [July 26, 2019, 9:13am UTC](https://community.hubspot.com/t/if-statements-in-email-templates/15495 "2019-07-26T09:13:31Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![vpetr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vpetr/32/203105_2.png) [@vpetr](https://community.hubspot.com/u/vpetr)\
**Post date:** [June 11, 2025, 11:41am UTC](https://community.hubspot.com/t/if-statements-in-email-templates/15495/44 "2025-06-11T11:41:43Z")

</div>

[@Shane\_Janssens](https://community.hubspot.com/t5/user/viewprofilepage/user-id/96739)  
We have enterpirse account and tried this

> **[Create programmable emails](https://knowledge.hubspot.com/marketing-email/create-programmable-emails)**
>
> Learn how to create programmable emails in HubSpot (BETA).

but it doesn’t work and always returns false.

 ![Screenshot_2.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/3/5342107dd0e192b8c2fa47524418bf67b8e57284.png)

---

_[View the full topic](https://community.hubspot.com/t/if-statements-in-email-templates/15495)._
