finished implementing email flow.
All details reach the JSON and the node script picks it up and sends an email using mandrill.