<commit_before>[:smtp_settings, :delivery_method, :default_url_options].each do |key|
  if Settings.mail[key]
    ActionMailer::Base.send(:"#{key}=", Settings.mail[key].to_hash)
  end
end<commit_msg>don't convert symbols to hashes<commit_after>[:smtp_settings, :delivery_method, :default_url_options].each do |key|
  if Settings.mail[key]
    ActionMailer::Base.send(:"#{key}=",
      Settings.mail[key].is_a?(Symbol) ? Settings.mail[key] : Settings.mail[key].to_hash)
  end
end
{'fraction_non_alphanumeric': 0.16527196652719664, 'fraction_numerical': 0.0, 'mean_word_length': 6.484375, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4134889', 'n_tokens_mistral': 174, 'n_tokens_neox': 175, 'n_words': 27}