<commit_before>var mandrill_client = require('../settings').mandrill_client;

var mandrillClient = function (to, title, body) {
  var message = {
    'html': body,
    'subject': subject,
    'from_email': '<EMAIL>',
    'from_name': 'iTerior Conference',
    'to': [
    {
      'email': to.email,
      'name': to.name,
      'type': 'to'
    }
    ],
    'google_analytics_domain': [
      'iterior.com.br'
    ]
  }
  mandrill_client.messages.send({'message': message}, function(response) {
    console.log(response);
  }, function(e) {
    console.log('A Mandrill error occurred: ', e.name, ' - ', e.message);
  });
};

module.exports = mandrillClient;<commit_msg>subscribe<commit_after>var mandrill_client = require('../settings').mandrill_client;

var mandrillClient = function (to, subject, body) {
  var message = {
    'html': body,
    'subject': subject,
    'from_email': '<EMAIL>',
    'from_name': 'iTerior Conference',
    'to': [
    {
      'email': to.email,
      'name': to.name,
      'type': 'to'
    }
    ],
    'google_analytics_domain': [
      'iterior.com.br'
    ]
  }
  mandrill_client.messages.send({'message': message}, function(response) {
    console.log(response);
  }, function(e) {
    console.log('A Mandrill error occurred: ', e.name, ' - ', e.message);
  });
};

module.exports = mandrillClient;
{'fraction_non_alphanumeric': 0.17964071856287425, 'fraction_numerical': 0.0, 'mean_word_length': 3.08868501529052, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5180717', 'n_tokens_mistral': 471, 'n_tokens_neox': 459, 'n_words': 83}