Fixed the service definition and make sure swift plugins are working

I did some updates here. 
1) Make sure the don't inject the container. That is generally bad practice. We just want to inject the services and the parameters we depend upon. 

2) I'm using the SwithMailer event dispatcher in order to be able to inject plugins. This is used by Symfony with the `delivery_address` parameter for example.