# Email notifications display tokens instead of empty space

**URL:** https://forum.mautic.org/t/email-notifications-display-tokens-instead-of-empty-space/31856
**Category:** Product Support
**Tags:** mautic-4
**Created:** [April 25, 2024, 9:44pm UTC](https://forum.mautic.org/t/email-notifications-display-tokens-instead-of-empty-space/31856 "2024-04-25T21:44:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jtimana](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jtimana/32/2352_2.png) [@jtimana](https://forum.mautic.org/u/jtimana)
#### Post date: [April 25, 2024, 9:44pm UTC](https://forum.mautic.org/t/email-notifications-display-tokens-instead-of-empty-space/31856/1 "2024-04-25T21:44:16Z")

</div>

**Your software**  
My Mautic version is: 4.4.12  
My PHP version is: 8.0  
My Database type and version is: MariaDB 10.6

**Your problem**  
My problem is: After we setup the email notifications when someone submits a form, any empty field displays the token in the email notification. not an empty space as expected. How can I fix this? Thanks

These errors are showing in the log: nothing in the logs

Steps I have tried to fix the problem:

1. Setup a form
2. Setup email notifications for this form
3. Add the fields to this notification
4. Test leaving some empty fields in the form

---

<div class="post-metadata">

### Author: ![sbolinches](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sbolinches/32/9092_2.png) [@sbolinches](https://forum.mautic.org/u/sbolinches)
#### Post date: [December 12, 2025, 10:35am UTC](https://forum.mautic.org/t/email-notifications-display-tokens-instead-of-empty-space/31856/2 "2025-12-12T10:35:30Z")

</div>

It still happens in Mautic 6. It’s a serious professionalism issue when you deliver results to a client. Automating is fine, but this is unacceptable.

---

<div class="post-metadata">

### Author: ![felix727](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/felix727/32/12860_2.png) [@felix727](https://forum.mautic.org/u/felix727)
#### Post date: [December 15, 2025, 4:21pm UTC](https://forum.mautic.org/t/email-notifications-display-tokens-instead-of-empty-space/31856/3 "2025-12-15T16:21:00Z")

</div>

I had the exact same issue in Mautic 4.4.x. When a field was empty, the notification email showed the token like {company} instead of leaving it blank. It was fixed after disabling “Show if empty” in the field settings and rebuilding the notification template using the fallback version {company|}. Unfortunately, Mautic doesn’t apply this automatically.
