<commit_before>$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'configuration'
require 'model'
require 'mailer'

Configuration.new :path => '/Users/thenrio/src/ruby/agile-france-program-selection/prod.db'

# and what about some rake task ?
# will look better...


<commit_msg>nice :) should kick off mailing credentials<commit_after>$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'configuration'
require 'model'
require 'mailer'

Configuration.new :path => '/Users/thenrio/src/ruby/agile-france-program-selection/thenrio.db'

# and what about some rake task ?
# will look better...

options = { :address => "smtpauth.dbmail.com",
            :domain => "dbmail.com",
            :port => 25,
            :user_name => "<EMAIL>",
            :password => "<PASSWORD>",
            :authentication => :login}

Mail.defaults do
  delivery_method :smtp, options
end

Mailer.new.mail_speaker_having_at_least_one_scheduled_session

{'fraction_non_alphanumeric': 0.13412017167381973, 'fraction_numerical': 0.002145922746781116, 'mean_word_length': 3.9105263157894736, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '2729962', 'n_tokens_mistral': 304, 'n_tokens_neox': 292, 'n_words': 63}