<commit_before>/**
 * the mail library for sending email
 */

'use strict';

const nodemailer = require('nodemailer');

class Email {

  constructor() {
    this.transport = nodemailer.createTransport('smtps://liming.dl%40gmail.com:<EMAIL>');
  }

  send(options, cb) {

    this.transport.sendMail({
      from: '<EMAIL>',
      to: '<EMAIL>',
      subject: 'This is a test mail',
      text: 'Hello world 🐴',
      html: '<b>Hello world 🐴</b>'
    }, (err, info) => {
      if (err) {
        console.error(err);
        return cb(err);
      }

      console.log('Message sent: ' + info.response);
      cb();
    });
  }
};

exports = module.exports = new Email();
<commit_msg>remove some cridentials<commit_after>/**
 * the mail library for sending email
 */

'use strict';

const nodemailer = require('nodemailer');

class Email {

  constructor() {
    this.transport = nodemailer.createTransport('smtps://liming.dl%40gmail.com:smtp.gmail.com');
  }

  send(options, cb) {

    this.transport.sendMail({
      from: '<EMAIL>',
      to: '<EMAIL>',
      subject: 'This is a test mail',
      text: 'Hello world 🐴',
      html: '<b>Hello world 🐴</b>'
    }, (err, info) => {
      if (err) {
        console.error(err);
        return cb(err);
      }

      console.log('Message sent: ' + info.response);
      cb();
    });
  }
};

exports = module.exports = new Email();

{'fraction_non_alphanumeric': 0.17523533671252717, 'fraction_numerical': 0.002896451846488052, 'mean_word_length': 2.5526992287917736, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7412652', 'n_tokens_mistral': 482, 'n_tokens_neox': 466, 'n_words': 108}