<commit_before>nodemailer = require("nodemailer")

#TODO: html email (templates?)
#
exports.signUpEmail = (user, token, callback) ->
  transport = nodemailer.createTransport 'SMTP'
    service: "SendGrid"
    auth:
      user: process.env.CU_SENDGRID_USER
      pass: process.env.CU_SENDGRID_PASS

  mailOptions =
    from: '<EMAIL>'
    to: user.email[0]
    subject: "Activate your ScraperWiki account!"
    text: """
    Hi #{user.displayName},<commit_msg>extra comma, for coffeescript 1.6<commit_after>nodemailer = require("nodemailer")

#TODO: html email (templates?)
#
exports.signUpEmail = (user, token, callback) ->
  transport = nodemailer.createTransport 'SMTP',
    service: "SendGrid"
    auth:
      user: process.env.CU_SENDGRID_USER
      pass: <PASSWORD>GRID_<PASSWORD>

  mailOptions =
    from: '<EMAIL>'
    to: user.email[0]
    subject: "Activate your ScraperWiki account!"
    text: """
    Hi #{user.displayName},
{'fraction_non_alphanumeric': 0.13141025641025642, 'fraction_numerical': 0.004273504273504274, 'mean_word_length': 3.8802083333333335, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2734291', 'n_tokens_mistral': 325, 'n_tokens_neox': 321, 'n_words': 69}