Merge local variables with globals

Without this PR, globals defined variables aren't available on email twig templates.