Use nodemailer in Stream Transport to generate RFC822 email messages

@george @patrick, since nodemailer is already being somewhat used for your Mailer, I’m wondering the best way to enhance or repurpose it to support Stream Transport and generate RFC822 email messages that I can send back to my mobile project for sending.

My ideal steps

  1. Compose email in mobile project and click send
  2. In my server project, a server connect receives the POST from the mobile project and takes all inputs (from, to, cc, bcc, subject, body, attachments, importance, etc) and generates the RFC822 compliant message.
  3. RFC822 compliant message is output to the mobile client for sending.