   _Make assigns available to a template._
 
       defmodule MyApp.Email do
-        use Bamboo.Phoenix, view: MyApp.EmailView
+        use Bamboo.Phoenix, view: MyAppWeb.EmailView
 
         def welcome_email(user) do
           new_email()

  _Render both text and html emails without layouts._

      defmodule MyApp.Email do
        use Bamboo.Phoenix, view: MyApp.EmailView

        def welcome_email do
          new_email()

  _Make assigns available to a template during render call._

      defmodule MyApp.Email do
        use Bamboo.Phoenix, view: MyAppWeb.EmailView

        def welcome_email(user) do
          new_email()
          |> put_html_layout({MyAppWeb.LayoutView, "email.html"})
          |> render(:welcome, user: user)
        end
      end
