#3097455 MailManager::getInstance should throw PluginException based on FactoryInterface::createInstance
Closes #3097455