[Mailer] Extract transport factory and allow create custom transports

by @Koc
Well done, there is nothing to change!

0
Coding Standard

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions