title: Nodemailer with my company's email
body: <p>I use nodemailer to send email to my users, previously I used gmail and it work just fine, but now, Im my custom email which provided by gmail</p>
  
  <pre><code>admin@example.io
  </code></pre>
  
  <p>Heres the code</p>
  
  <pre><code>var transporter = nodemailer.createTransport(smtpTransport({
    host : 'smtp.gmail.com',
    secureConnection : true,
    auth : {
      user: 'admin@example.io',
      pass: 'pass'
    }
  }));
  </code></pre>
  
  <p>Since my custom account is from gmail, I expect the host to be stmp.gmail.com, but it shows this error</p>
  
  <blockquote>
    <p>{ [Error: Invalid login:]}</p>
  </blockquote>
  
  <p>Im not sure what is the problem over here.</p>