% mail = ApplicationMailer.mail_for_notification(@notification) %>
<% if mail %> <% @notification.update(body: mail.html_part&.body&.decoded) %> <%= raw mail.html_part&.body&.decoded %> <% end %>
Make sense with Metamaps
<%= render partial: 'shared/mailer_unsubscribe_link' %>