<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>

<%= t('.body.training_expired_html', **{
  TRAINING: @attached_object.name,
  MACHINES: @attached_object.machines.map(&:name).join(', '),
  DATE: I18n.l((DateTime.current - @attached_object.authorization_period.months).to_date),
  PERIOD: @attached_object.authorization_period
}) %>
