title: Nodemailer 6.1.1 not working with NodeJs >=12
body: <p>I'm having a behaviour with <code>nodemailer</code> when updated my <code>nodejs</code> version to <code>12</code>.</p>
  
  <p>Now, when I'm trying to send emails, I get:</p>
  
  <pre><code>DEBUG Creating transport: nodemailer (6.1.1; +https://nodemailer.com/; SMTP/6.1.1[client:6.1.1])
  DEBUG Sending mail using SMTP/6.1.1[client:6.1.1]
  DEBUG [9mzLKQAwcwQ] Resolved mail.mycompany.com as xxx.xxx.xxx.xxx [cache miss]
  INFO  [9mzLKQAwcwQ] Connection established to xxx.xxx.xxx.xxx:587
  DEBUG [9mzLKQAwcwQ] S: 220 mail.mycompany.com ESMTP
  DEBUG [9mzLKQAwcwQ] C: EHLO [127.0.0.1]
  DEBUG [9mzLKQAwcwQ] S: 250-mail.mycompany.com
  DEBUG [9mzLKQAwcwQ] S: 250-STARTTLS
  DEBUG [9mzLKQAwcwQ] S: 250-PIPELINING
  DEBUG [9mzLKQAwcwQ] S: 250-8BITMIME
  DEBUG [9mzLKQAwcwQ] S: 250-SIZE 23068672
  DEBUG [9mzLKQAwcwQ] S: 250 AUTH LOGIN PLAIN CRAM-MD5
  DEBUG [9mzLKQAwcwQ] C: STARTTLS
  DEBUG [9mzLKQAwcwQ] S: 220 ready for tls
  ERROR [9mzLKQAwcwQ] 139673645745984:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1922:
  ERROR [9mzLKQAwcwQ]
  DEBUG [9mzLKQAwcwQ] Closing connection to the server using "end"
  ERROR Send Error: 139673645745984:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1922:
  ERROR
  [Error: 139673645745984:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1922:
  ] {
    library: 'SSL routines',
    function: 'ssl_choose_client_version',
    reason: 'unsupported protocol',
    code: 'ESOCKET',
    command: 'CONN'
  }
  INFO  [9mzLKQAwcwQ] Connection closed
  INFO  [9mzLKQAwcwQ] Connection closed
  </code></pre>
  
  <p>This is my SMTP transport config:</p>
  
  <pre><code>nodemailer.createTransport({
      host: 'mail.mycompany.com',
      port: 587,
      debug: true,
      logger: true,
      tls: {
        secure: false,
        ignoreTLS: true,
        rejectUnauthorized: false
      },
      auth: {
        user: 'user',
        pass: 'pass'
      }
  })
  </code></pre>
  
  <p>If I change to the <strong>latest's nodejs</strong> release of v11: <code>11.15.0</code>, everything works again. Only this happens on <code>v&gt;12</code>, 'cause I have tried with <code>12.1.0</code> &amp; <code>12.2.0</code> and got the same error described above.</p>
  
  <p>Someone experimenting same behaviour? Suggestions?</p>
  
  <p><strong>NOTE:</strong> I have <code>nodemailer</code> updated to the latest version <code>6.1.1</code> as I said on the Q'title.</p>