XWIKI-10510: Add ability to send emails from a Template document containing a XWiki.Mail xobject

Add internationalization support
You should mention that this method will take the first xobject of type XWiki.Mail that has an empty "language" property (ie the defaut language), and change the code accordingly maybe?