[javascript] Automatically open default email client and pre-populate content