<commit_before>namespace :scheduled do
  desc 'Marketing Mail - All imGrätzl (Region Wien) Users'
  task agb_change_and_crowdfunding: :environment do

    region = Region.get('wien')

    # For Testing
    # heroku rake scheduled:agb_change_and_welocally -a imgraetzl-staging
    user = User.where(email: ['<EMAIL>'])

    user.find_each do |user|
    # User.in(region).confirmed.find_each do |user|
      MarketingMailer.agb_change_and_crowdfunding(user).deliver_now
    end

  end
end
<commit_msg>agb mail task<commit_after>namespace :scheduled do
  desc 'Marketing Mail - All imGrätzl (Region Wien) Users'
  task agb_change_and_crowdfunding: :environment do

    region = Region.get('wien')

    # heroku rake scheduled:agb_change_and_crowdfunding -a imgraetzl-staging

    # For Testing
    # user = User.where(email: ['<EMAIL>'])
    # user.find_each do |user|

    User.in(region).confirmed.find_each do |user|
      MarketingMailer.agb_change_and_crowdfunding(user).deliver_now
    end

  end
end

{'fraction_non_alphanumeric': 0.09661354581673307, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, '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': '4810567', 'n_tokens_mistral': 371, 'n_tokens_neox': 354, 'n_words': 76}