 
   defp prepare_substitutions(body, _email), do: body
 
+  defp prepare_options(body, %{provider_options: %{options: options}}) do
+    Map.put(body, :options, options)
+  end
+
+  defp prepare_options(body, _email), do: body
+
   defp prepare_custom_headers(body, %{headers: headers}) do
     custom_headers = Map.merge(body.content.headers, headers)
     put_in(body, [:content, :headers], custom_headers)

      |> put_provider_option(:substitution_data, %{
        first_name: "Peter",
        last_name: "Parker"
      })
  """


    |> prepare_attachments(email)
    |> prepare_template_id(email)
    |> prepare_substitutions(email)
    |> prepare_options(email)
  end

  defp prepare_reply_to(body, %{reply_to: nil}), do: body
