# Filter not applied in template?

**URL:** <https://community.hubspot.com/t/filter-not-applied-in-template/46777>\
**Category:** Email Marketing Tool\
**Tags:** templates, marketing-email\
**Created:** [November 10, 2021, 3:30pm UTC](https://community.hubspot.com/t/filter-not-applied-in-template/46777 "2021-11-10T15:30:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foeth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/foeth/32/30191_2.png) [@Foeth](https://community.hubspot.com/u/Foeth)\
**Post date:** [November 10, 2021, 3:30pm UTC](https://community.hubspot.com/t/filter-not-applied-in-template/46777/1 "2021-11-10T15:30:49Z")

</div>

In a mailtemplate that im building im putting the following Hubl code (simplified):

`<p>{{ deal.hubspot_owner_id.firstname|lower }}</p>`

I would expect this to result in a full lower case string displaying the firstname of the owner, except that it doesnt; when i send the email from the workflow, it shows “_Michel_” as the firstname.

What am i doing wrong?

---

<div class="post-metadata">

**Author:** ![Foeth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/foeth/32/30191_2.png) [@Foeth](https://community.hubspot.com/u/Foeth)\
**Post date:** [November 10, 2021, 3:45pm UTC](https://community.hubspot.com/t/filter-not-applied-in-template/46777/2 "2021-11-10T15:45:35Z")

</div>

Nevermind, apparently this is not supported in emails: (from the docs)

_Please note that using filters on **any** personalization variables (such as but not limited to contacts, company, and deal variables) is not currently supported for email in HubSpot due to how emails are rendered. Filters can be applied to these properties on HubSpot CMS page and blog templates._
