Create a new twig environment to allow mailer usage in doctrine listeners