   end
 
   def invite_notification_email(recipient, host) do
-    base_email()
-    |> to(recipient)
+    base_email(recipient)
     |> subject("Join #{UserHelper.display_name(host)}'s team in this year's Make or Break!")
     |> put_html_layout({LayoutView, "email.html"})
     |> assign(:title, "Join #{UserHelper.display_name(host)}'s team in this year's Make or Break")

  end

  def checkin_email(recipient) do
    base_email()
    |> to(recipient)
    |> subject("Welcome to Make or Break!")
    |> put_html_layout({LayoutView, "email.html"})
    |> assign(:title, "Welcome to Make or Break!")

  alias ApiWeb.{UserHelper, LayoutView}

  def invite_email(recipient, host) do
    base_email(recipient)
    |> subject("Join #{UserHelper.display_name(host)}'s team in this year's Make or Break!")
    |> put_html_layout({LayoutView, "email.html"})
    |> assign(:title, "Join #{UserHelper.display_name(host)}'s team in this year's Make or Break")
