# Including custom variables in emails

**URL:** <https://forum.mautic.org/t/including-custom-variables-in-emails/23845>\
**Category:** General Discussion\
**Created:** [April 21, 2022, 8:58pm UTC](https://forum.mautic.org/t/including-custom-variables-in-emails/23845 "2022-04-21T20:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roblefko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roblefko/32/4958_2.png) [@roblefko](https://forum.mautic.org/u/roblefko)\
**Post date:** [April 21, 2022, 8:58pm UTC](https://forum.mautic.org/t/including-custom-variables-in-emails/23845/1 "2022-04-21T20:58:31Z")

</div>

I send emails out to a segment of my contacts each week with notifications about this week’s training. I send out an initial email to them, a reminder, and then additional information to those contacts that sign up for the training. Each week, I need to go into each of these emails and update the time and date of the next training. Is there a way that I can just include some kind of variable reference in all of the emails, and then just update the variable once each week?  
Thanks,  
Robert

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 22, 2022, 7:44am UTC](https://forum.mautic.org/t/including-custom-variables-in-emails/23845/2 "2022-04-22T07:44:21Z")

</div>

Hey Robert, you can use the Twig Templates plugin for this purpose with a little Twig coding:

> **[Twig Templates for Mautic](https://mtcextendee.com/marketplace/twig-templates-for-mautic/)**
>
> Buy now one domain license / 39€ – buy nowunlimited license / 169€ – buy now Buy now one domain license / 39€ – buy nowunlimited license / 169€ – buy now

The Twig Templates plugin will allow you to add calculated fields to your email, like

“Show date of this week’s Thursday” for example.
