 
       def text_email_layout do
         new_email
-        # Will use MyApp.LayoutView with email.text layout when rendering text emails
+        # Will use MyApp.LayoutView with email.text template when rendering text emails
         |> put_text_layout({MyApp.LayoutView, "email.text"})
       end
   """

        def text_and_html_email_with_layout do
          new_email()
          # You could set just a text layout or just an html layout
          |> put_text_layout
          |> put_html_layout
          # Or you can set a layout for both html and text at the same time
          |> put_layout
          # Pass an atom to render html AND plain text templates
          |> render(:text_and_html_email)
        end


      def html_email_layout do
        new_email
        # Will use MyApp.LayoutView with email.html template when rendering html emails
        |> put_html_layout({MyApp.LayoutView, "email.html"})
      end
  """
