<commit_before>#!/usr/bin/env ruby

require 'mail'

TIME_FREQUENCY = ARGV[0].to_f;

notify_emails = ARGV.values_at(1...-1) 




Mail.defaults do
  retriever_method :pop3, :address    => "pop.gmail.com",
                          :port       => 995,
                          :user_name  => 'larry.testone',
                          :password   => '<PASSWORD>',
                          :enable_ssl => true
end

Mail.deliver do
   from    '<EMAIL>'
   to      '<EMAIL>'
   subject 'Notification'
   body    'body'
end

=begin
while true do
  sleep( TIME_FREQUENCY)
  if ( last == Mail.last)
    Mail.deliver do
       from    '<EMAIL>'
       to      '<EMAIL>'
       subject 'Notification'
       body    'body'
  end else
    last = mail.last

  end
end
=end

<commit_msg>modified the name of the file<commit_after>#!/usr/bin/env ruby
require 'rubygems'
require 'mail'

#TIME_FREQUENCY = ARGV[0].to_f;

#notify_emails = ARGV[1].split(';')


Mail.defaults do
  delivery_method :smtp, { :address              => 'smtp.gmail.com',
                           :port                 => 587,
                           :domain               => 'gmail.com',
                           :user_name            => '<EMAIL>',
                           :password             => '<PASSWORD>',
                           :authentication       => 'plain',
                           :enable_starttls_auto => true }
  retriever_method :imap, { :address    => 'imap.googlemail.com',
                            :port       => 993,
                            :user_name  => '<EMAIL>',
                            :password   => '<PASSWORD>',
                            :enable_ssl => true }
end

puts Mail.last.subject

Mail.deliver do
  to '<EMAIL>'
  from '<EMAIL>'
  subject 'testing sendmail'
  body 'testing sendmail'
end



=begin
while true do
  sleep( TIME_FREQUENCY)
  if ( last == Mail.last)
    Mail.deliver do
       from    '<EMAIL>'
       to      '<EMAIL>'
       subject 'Notification'
       body    'body'
  end else
    last = mail.last

  end
end
=end


{'fraction_non_alphanumeric': 0.11850412821758136, 'fraction_numerical': 0.007285089849441476, 'mean_word_length': 1.4037339556592765, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 33, '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': '6569823', 'n_tokens_mistral': 661, 'n_tokens_neox': 646, 'n_words': 147}