<!-- You can override this template to design your own header. -->
<tr>
  <td class="email-masthead">
    <% if frontend_available? %>
      <%= link_to spree.root_url, class: 'template-label' do %>
        <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name, title: current_store.name %>
      <% end %>
    <% else %>
      <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name, title: current_store.name %>
    <% end %>
  </td>
</tr>

<!-- You can override this template to design your own header. -->
<% store_name = @order&.store&.name || current_store.name %>
<tr>
  <td class="email-masthead">
    <% if frontend_available? %>
      <%= link_to spree.root_url, class: 'template-label' do %>
        <%= image_tag Spree::Config.logo, class: 'logo', alt: store_name, title: store_name %>
      <% end %>
    <% else %>
      <%= image_tag Spree::Config.logo, class: 'logo', alt: store_name, title: store_name %>
    <% end %>
  </td>
</tr>

Use orders store name for logo alt and title attributes
[SDP-352] Use orders store name for logo alt and title attributes
