Preprocessing and Sending HTML Emails in Node.js