<td style="<%= css_for_mailer_content %>">
  <h1 style="<%= css_for_mailer_heading %>">
    <%= @direct_message.title %>
  </h1>

  <div style="<%= css_for_mailer_text %>">
    <%= mailer_simple_format(@direct_message.body) %>
  </div>

  <table style="width: 100%; border-top: 1px solid #DEE0E3; margin-top: 60px;">
    <tbody>
      <tr>
        <td style="padding-bottom: 12px; padding-top: 24px; text-align: center;">
          <%= link_to user_url(@direct_message.sender), style: css_for_mailer_button do %>
            <%= t("mailers.direct_message_for_receiver.reply",
                  sender: @direct_message.sender.name) %>
          <% end %>
        </td>
      </tr>
    </tbody>
  </table>

  <p style="<%= css_for_mailer_text %>">
    <%= sanitize(
      t(
        "mailers.direct_message_for_receiver.unsubscribe_text",
        notifications: link_to(
          t("mailers.config.notifications_link"),
          edit_subscriptions_url(token: @token),
          style: css_for_mailer_link
        )
      ),
      attributes: %w[href style]
    ) %>
  </p>
</td>
