If you need to send an email, have you considered using E-Mail module with templates from the app store?
You may find it easier than trying to craft it using JavaScript as you create a template in your app and let Mendix populate it using tokens and then send it out.
Hi Johnathan,
Adding some html tags is not possible https://stackoverflow.com/questions/5620324/mailto-link-with-html-body
For security reasons and compatibility it will probably not allowed. (Not all email client do support HTML bodies when this spec was written)
For mobile the Web Share API is use full, though it has no desktop support. Maybe you can combine it with the mail to link...
Cheers,
Andries