Made the Twig SwiftMailer class set in the parameters.