title: Node - options for sending email, sendgrid and nodemailer one of them or combined
body: <p>Not so experienced with sending email in node and as i can see there are different option to choose among. Which option to use in following scenario?</p>
  
  <p><b>Using node-mailer with sengrid:</b><br>
  As i can see i must add additional package <code>"nodemailer-sendgrid-transport"</code> to force them to work together. <br>Because <code>var transporter = nodemailer.createTransport({ service: 'SendGrid', auth: {...});</code> won't work. (Always returning Bad username / password)</p>
  
  <pre><code>var nodemailer        = require('nodemailer'),
      sendGridTransport = require('nodemailer-sendgrid-transport');
  
  var options = {
      auth: {
          api_user: 'blabla',
          api_key:  'blabla'
      }
  };
  var client = nodemailer.createTransport(sendGridTransport(options));
  
  var email = {
      to: ['joe@foo.com', 'mike@bar.com'],
      from: 'roger@tacos.com',
      subject: 'Hi there',
      text: 'Awesome sauce',
      html: '&lt;b&gt;Awesome sauce&lt;/b&gt;'
  };
  
  client.sendMail(email, function(err, info) { ... });
  </code></pre>
  
  <p><strong>Using just sendgrid module without nodemailer package:</strong></p>
  
  <pre><code>var sendgrid = require('sendgrid')('blabla', 'blabla');
  
  var email = {
      to: ['joe@foo.com', 'mike@bar.com'],
      from: 'roger@tacos.com',
      subject: 'Hi there',
      text: 'Awesome sauce',
      html: '&lt;b&gt;Awesome sauce&lt;/b&gt;'
  };
  
  sendgrid.send(email, function(err, json) { ... });
  </code></pre>
  
  <p>So with second example i will include just one package (sengrid), with first approach i must include two packages (nodemailer and nodemailer-sendgrid-transport). I see that first approach is bigger abstraction over second in that i can update or switch entirely to some other service-transport (gmail for example) or can i? But in other hand i don't see situation where it would be appropriate to switch between different transport objects.</p>
  
  <p>Side question appart all of this is how to use templates with this solutions. I dont see in official guides anything about templates nor at: <a href="https://github.com/sendgrid/sendgrid-nodejs" rel="nofollow">https://github.com/sendgrid/sendgrid-nodejs</a> nor at: <a href="https://github.com/andris9/Nodemailer" rel="nofollow">https://github.com/andris9/Nodemailer</a>:</p>
  
  <p>Email templates are whole different story apart this and i need to install new package which will deal with it?<br> In the end I feel like I'm posted very retarded question.</p>