Links for App Actions cannot be non-app targets. The best you can do would be to do something like:
- Open the App Model
- On Gadget Init => construct a new window/browser with the mailto: url with subject & body parameters
- Perhaps its worthwhile to put some sort of "preparing email messaging" etc...
- This should prompt the user's email client to launch
- Then issue the gadget close after the new window is opened.
To my knowledge that is the only way to do this. Hope that helps.
when you defining your action in the app.xml, you will specify the HTML that is that action. The HTML will have little (or no visible elements)...but would use the gadgets.util.registerOnLoadHandler (or jQuery onReady) to execute the init logic. I would double check, but I'm pretty sure if you do a (pseudo-code) => new window('mailto:xxxx') that this should launch the mail client directly...but you'll need to test that theory.