<p>They aren't loaded into the twig template global scope but you can access them with:</p>

<p><a href="https://craftcms.com/docs/templating/craft.globals#getSetByHandle" rel="nofollow noreferrer">https://craftcms.com/docs/templating/craft.globals#getSetByHandle</a></p>

CC BY-SA 3.0
2017-07-28T11:53:06.700Z
2017-07-28T11:53:06.700Z
Luke Holder
<p>I’ve set up a few email notifications to be sent to customers, and in the corresponding email templates I’d like to use content from Global fields I’ve created.</p>

<p>But when I use the regular variable <code>{{ globalSetHandle.fieldHandle }}</code> nothing is outputted in the emails.</p>

<p>Does that means that we can’t use Globals inside email templates?</p>

<p>Thanks!</p>

<emails><globals>
Use Globals in email templates
# Use Globals in email templates

(Asked by: username_0 on 2017-07-28)

I’ve set up a few email notifications to be sent to customers, and in the corresponding email templates I’d like to use content from Global fields I’ve created.

But when I use the regular variable `{{ globalSetHandle.fieldHandle }}` nothing is outputted in the emails.

Does that means that we can’t use Globals inside email templates?

Thanks!

**Tags:** emails, globals

---

## 1 answers

### Answer by username_1 on 2017-07-28. Score: 3 | Accepted answer

They aren't loaded into the twig template global scope but you can access them with:

<https://craftcms.com/docs/templating/craft.globals#getSetByHandle>


---

