XWIKI-10405: Implement a new Platform Mail Sender API
* Added an integration test using GreenMail to ensure all work (right now it doesn't since the implementation is not finished yet)