class RegistrationMailer < ActionMailer::Base
  default from: "no-reply@library.nyu.edu"

  def registration_email(user)
    @user_data = user
    emails = registration_emails.collect { |email| email["email"] }
    mail(to: emails, subject: t('send_email.subject')) if emails.present?
  end

  private
  def registration_emails
    (Figs.env['REGISTRATION_EMAILS'] || [])
  end
end

class RegistrationMailer < ActionMailer::Base
  default from: "lib-no-reply@nyu.edu"

  def registration_email(user)
    @user_data = user
    emails = registration_emails.collect { |email| email["email"] }
    mail(to: emails, cc: @user_data.email, subject: t('send_email.subject')) if emails.present?
  end

  private
  def registration_emails
    (Figs.env['REGISTRATION_EMAILS'] || [])
  end
end

Change no reply to new alias; Add CC to user submitting the request so they have a record of the request
Change no reply to new alias; Add CC to user submitting the request so they have a record of the request
