I'm currently working on a demo Alexa skill that has a range of functions. It's related to an iOS recipe app. So far I've included functions in the skill to allow the user to ask for a list of ingredients for a given recipe, or steps on how to make it.
My next step would be an email function for this. Essentially the utterance would be something like "Alexa, ask X to email me the ingredients for french toast". The Skill at present is not pointed at any backend, and all recipes details are hardcoded into the skill. So what I'm trying to do is have Alexa fetch a list of items from an accompaning .js file and email them to the user.
Does anybody have advice/guides on how to go about doing this? I'm learning js largely on the fly and have been using tutorials and videos to get this far - I've just not found any relevant to an email function.