XWIKI-10510: Add ability to send emails from a Template document containing a XWiki.Mail xobject
* Add support for embedding attachments located in the template document when "includeTemplateAttachments" = true