Hi there! I want to extend the core email functionality in my custom plugin, so I need to override the \Mautic\EmailBundle\Model\EmailModel model with some additions. Creating a new model and injecting the parent one is no way for me, because i need change the default way email sending.
I want to use another api key for some emails. It will be the same email service, but just two or three accounts to use in different campaigns. So I tried to override the existing model, according to the Symfony docs but it was unsuccessful. But even if it was success, i would like not changing the core files and do everything in the plugin only.
So the question: is it possible? And if yes, how can i do this?