add support for extending the mailing module with custom mail providers via events