<% unless @mail_template.email_header.blank? %>
  <% content_for :email_header do %>
    <%= Sanitize.clean(@mail_template.email_header, :output => :html) %>
  <% end %>
<% end %>
<% unless @mail_template.email_footer.blank? %>
  <% content_for :email_footer do %>
    <%= Sanitize.clean(@mail_template.email_footer, :output => :html) %>
  <% end %>
<% end %>
<% unless @mail_template.mail_body_plain.blank? %>
  <%= Sanitize.clean(@mail_template.mail_body_plain, :output => :html) %>
<% end %>
