   defp put_in_body({:template_model, val}, body_acc), do: Map.put(body_acc, "TemplateModel", val)
   defp put_in_body({:template_id, val}, body_acc), do: Map.put(body_acc, "TemplateId", val)
   defp put_in_body({:template_alias, val}, body_acc), do: Map.put(body_acc, "TemplateAlias", val)
-  defp put_in_body({:message_stream, val}, body_acc), do: Map.put(body_acc, "MessageStream", val)
   defp put_in_body(_, body_acc), do: body_acc
 
   defp prepare_custom_headers(body, %{headers: headers}) when map_size(headers) == 0, do: body

    end
  end

  defp prepare_body(emails) when is_list(emails) do
    Enum.map(emails, &prepare_body/1)
  end

  defp prepare_body(email) do

  @impl true
  def deliver_many(emails, config \\ []) when is_list(emails) do
    headers = prepare_headers(config)
    body = emails |> prepare_body(config) |> Swoosh.json_library().encode!
    url = [base_url(config), api_endpoint(List.first(emails), true)]

    # Could not use `Swoosh.ApiClient.post` here since I have more than one email
