public function listAction(Request $request)
    {
        $pager = $this->get('lexik_mailer.simple_pager')->retrievePageElements(
            $this->container->getParameter('lexik_mailer.email_entity.class'),
            $request->get('page', 1)
        );

        return $this->render('LexikMailerBundle:Email:list.html.twig', array_merge(array(
            'emails'  => $pager->getResults(),
            'total'   => $pager->getCount(),
            'page'    => $pager->getPage(),
            'maxPage' => $pager->getMaxPage(),
            'layout'  => $this->container->getParameter('lexik_mailer.base_layout'),
            'locale'  => $this->container->getParameter('locale'),
        ), $this->getAdditionalParameters()));
    }