<commit_before>class PermitMailer < ActionMailer::Base
  default from: "<EMAIL>"
  layout 'email' # use views/layouts/email.html.erb as the base layout

  # send the permit email to San Antonio Gov, pass in the user object that contains the user's email address
  def send_permit_application(permit, permit_needs, unique_key)
    @permit = permit
    @permit_needs = permit_needs
    @unique_key = unique_key

    permit_binary_detail = PermitBinaryDetail.find_by filename: "#{unique_key}.pdf"
    mail.attachments['permit.pdf'] = {  :mime_type => permit_binary_detail.content_type,
                                        :content => permit_binary_detail.binary.data }

    mail( :to => @permit.email,
    #:cc => '<EMAIL>',
    :subject => I18n.t('mailers.permit_mailer.subject'),
    :template_path => 'permit_mailer',
    :template_name => 'send_permit_application' )
                                    
  end
end<commit_msg>add san antonio email back on the cc<commit_after>class PermitMailer < ActionMailer::Base
  default from: "<EMAIL>"
  layout 'email' # use views/layouts/email.html.erb as the base layout

  # send the permit email to San Antonio Gov, pass in the user object that contains the user's email address
  def send_permit_application(permit, permit_needs, unique_key)
    @permit = permit
    @permit_needs = permit_needs
    @unique_key = unique_key

    permit_binary_detail = PermitBinaryDetail.find_by filename: "#{unique_key}.pdf"
    mail.attachments['permit.pdf'] = {  :mime_type => permit_binary_detail.content_type,
                                        :content => permit_binary_detail.binary.data }

    mail( :to => @permit.email,
    :cc => '<EMAIL>',
    :subject => I18n.t('mailers.permit_mailer.subject'),
    :template_path => 'permit_mailer',
    :template_name => 'send_permit_application' )
                                    
  end
end
{'fraction_non_alphanumeric': 0.10361317747077577, 'fraction_numerical': 0.0021253985122210413, 'mean_word_length': 3.0581896551724137, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3684276', 'n_tokens_mistral': 585, 'n_tokens_neox': 565, 'n_words': 136}