title: Sending emails from contact form, with the firebase functions and nodemailer
body: <p>I use these technologies:</p>
  
  <ul>
  <li>Angular 4</li>
  <li>Firebase</li>
  <li>firebase hosting</li>
  <li>firebase functions</li>
  <li>firebase real time database</li>
  <li>firebase storage</li>
  </ul>
  
  <p>I host my website on firebase hosting, and I have a contact form like the picture below, I want every time the user submits that form, to send an email to the admin of the web site</p>
  
  <p>How I will send emails with firebase and <a href="https://nodemailer.com/about/" rel="nofollow noreferrer">Nodemailer</a></p>
  
  <p>Should I require the nodemailer inside the index.js on functions folder or that is wrong?</p>
  
  <blockquote>
    <p>This is my contact form.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/qc9Yj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qc9Yj.png" alt="enter image description here"></a></p>