how to define html in javascript for email code example
Example 1: javascript email link
<body onload="javascript: window.location.href='mailto:mail@example.org';">
Example 2: email js
$ npm install emailjs-com --save
<body onload="javascript: window.location.href='mailto:mail@example.org';">
$ npm install emailjs-com --save