I have a simple JavaScript/jQuery web app where users can enter an artist's name and receive a list of similar artists based off of the Spotify API. The Spotify API prints out a JSON array that I iterate over in order to show in the browser.
I would like to create an option where people can enter their email address and receive a copy of that output sent to them. Mandrill, as discussed here can only accept HTML content as opposed to dynamic JSON output. I was unaware that it required using PHP to parse the JSON into an HTML formatted snippet.
Edit: Upon further reflection and the answers, this is not the best way to go about it regardless. I have re-done this application anyway to use Node.js and npm options.