<commit_before>module SendGridActionMailer
  class Railtie < Rails::Railtie
    initializer 'sendgrid_actionmailer.add_delivery_method', before: 'action_mailer.set_configs' do
      ActionMailer::Base.add_delivery_method(:sendgrid_actionmailer, SendGridActionMailer::DeliveryMethod)
    end
  end
end<commit_msg>Lazy load ActionMailer::Base (#57)<commit_after>module SendGridActionMailer
  class Railtie < Rails::Railtie
    initializer 'sendgrid_actionmailer.add_delivery_method' do
      ActiveSupport.on_load(:action_mailer) do
        ActionMailer::Base.add_delivery_method(:sendgrid_actionmailer, SendGridActionMailer::DeliveryMethod)
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.07496251874062969, 'fraction_numerical': 0.0029985007496251873, 'mean_word_length': 6.34065934065934, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4806413', 'n_tokens_mistral': 220, 'n_tokens_neox': 208, 'n_words': 33}