XWIKI-10405: Implement a new Platform Mail Sender API
* Improve test by testing sending several emails at once