XWIKI-10405: Implement a new Platform Mail Sender API
* Added integration tests for verifying the scripting API