Fixed Mail Templates controller for Doctrine 2