<commit_before>var config = require('./config.dev');
 
config.env = 'production';
config.mongo.db = process.env.MONGOLAB_URI || process.env.MONGOHQ_URL;
 
// Mailing
// Mail-Sender => Sendgrid
config.mailSending = {
  sendgrid_username: process.env.SENDGRID_USERNAME,
  sendgrid_password: <PASSWORD>.<PASSWORD>GRID_PASSWORD,
  support_Helpdesk:  process.env.SUPPORT_HELPDESK,
  noreply_Helpdesk:  process.env.NOREPLY_HELPDESK
};

// Mail-Listener
config.mailListening = {
  username: process.env.PRODUCTION_MAIL_USERNAME,
  password: <PASSWORD>,
  host: process.env.PRODUCTION_MAIL_HOST,
  port: process.env.PRODUCTION_MAIL_PORT_IMAP, // imap port
  tls: true,
  tlsOptions: { rejectUnauthorized: false },
  mailbox: "INBOX", // mailbox to monitor
  searchFilter: ["UNSEEN"], // the search filter being used after an IDLE notification has been retrieved
  markSeen: false, // all fetched email willbe marked as seen and not fetched next time
  fetchUnreadOnStart: true, // use it only if you want to get all unread email on lib start. Default is `false`,
  mailParserOptions: {streamAttachments: false},   // options to be passed to mailParser lib.
  attachments: false, // download attachments as they are encountered to the project directory
  attachmentOptions: { directory: "attachments/" } // specify a download directory for attachments
};

module.exports = config;<commit_msg>Fixing error with production sending email configuration in heroku.<commit_after>var config = require('./config.dev');
 
config.env = 'production';
config.mongo.db = process.env.MONGOLAB_URI || process.env.MONGOHQ_URL;
 
// Mailing
// Mail-Sender => Sendgrid
config.mailSending = {
  sendgrid_username: process.env.SENDGRID_USERNAME,
  sendgrid_password: <PASSWORD>.SENDGRID_PASSWORD,
  support_Helpdesk:  process.env.SUPPORT_HELPDESK,
  noreply_Helpdesk:  process.env.NOREPLY_HELPDESK
};

// Mail-Listener
config.mailListening = {
  username: process.env.LOCAL_MAIL_USERNAME,
  password: <PASSWORD>,
  host: process.env.LOCAL_MAIL_HOST,
  port: process.env.LOCAL_MAIL_PORT_IMAP, // imap port
  tls: true,
  tlsOptions: { rejectUnauthorized: false },
  mailbox: "INBOX", // mailbox to monitor
  searchFilter: ["UNSEEN"], // the search filter being used after an IDLE notification has been retrieved
  markSeen: false, // all fetched email willbe marked as seen and not fetched next time
  fetchUnreadOnStart: true, // use it only if you want to get all unread email on lib start. Default is `false`,
  mailParserOptions: {streamAttachments: false},   // options to be passed to mailParser lib.
  attachments: false, // download attachments as they are encountered to the project directory
  attachmentOptions: { directory: "attachments/" } // specify a download directory for attachments
};

module.exports = config;
{'fraction_non_alphanumeric': 0.09967845659163987, 'fraction_numerical': 0.0, 'mean_word_length': 4.6, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1766593', 'n_tokens_mistral': 869, 'n_tokens_neox': 852, 'n_words': 251}