<commit_before><% content_for :email_body do %>

  <p>Hello <%= @user.name %>,</p>

  <p>You have been unsubscribed from <%= t(@type, scope: 'mail_subscriptions') %> emails.</p>

  <p class="cta"><%= link_to 'Subscribe again', subscribe_url(@user.user_notification.notification_settings_edit_token, @type), class: 'btn-email' %></p>

  <p><%= link_to 'Unsubscribe from all emails', unsubscribe_url(@user.user_notification.notification_settings_edit_token, :all) %></p>

<% end %>

<%= render template: "layouts/email" %><commit_msg>Tweaked notification emails<commit_after><% content_for :email_header do %>
  <h1 class="header-title">Hello <%= @user.name %></h1>
  <h2 class="header-subtitle">You have been unsubscribed from <%= t(@type, scope: 'mail_subscriptions') %> emails</h2>
<% end %>

<% content_for :email_body do %>

  <p align="center"><%= link_to 'Subscribe again', subscribe_url(@user.user_notification.notification_settings_edit_token, @type), class: 'button' %></p>

  <p align="center"><%= link_to 'Unsubscribe from all emails', unsubscribe_url(@user.user_notification.notification_settings_edit_token, :all) %></p>

<% end %>

<%= render template: "layouts/email" %>
{'fraction_non_alphanumeric': 0.18327702702702703, 'fraction_numerical': 0.0033783783783783786, 'mean_word_length': 6.547770700636943, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1788046', 'n_tokens_mistral': 420, 'n_tokens_neox': 384, 'n_words': 87}