XWIKI-10405: Implement a new Platform Mail Sender API
* Fixes and corrections for AttachmentMimeBodyFactory and TextMimeBodyFactory