class ContactMailer < ApplicationMailer

  def contact_us(contact_id)
    @page_content = Page.guaranteed_find slug: 'contacts-mailer-contact-us'
    @contact = Contact.find contact_id

    mail(
      to: @contact.email,
      subject: @contact.subject
    )
  end
end

class ContactMailer < ApplicationMailer

  def contact_us(contact_id)
    @page_content = Page.guaranteed_find slug: 'contacts-mailer-contact-us'
    @contact = Contact.find contact_id
    headers( unique_args: {
        mailer: "ContactMailer"
      }
    )
    mail(
      to: @contact.email,
      subject: @contact.subject
    )
  end
end

Add unique_args to contact_us mailer
Add unique_args to contact_us mailer

Sendgrid should send these along with the event webhook. We'll use these
to reconnect and email with the resource that initiated it.
