private function configureEmailHelper(ContainerBuilder $container)
    {
        if (!class_exists('Swift_Mailer')) {
            $definition = $container->getDefinition('orkestra.application.helper.email');
            $definition->setClass('Orkestra\Bundle\ApplicationBundle\Helper\EmailHelper\MisconfiguredEmailHelper');
            $definition->setArguments(array());
        }
    }