<% if @email_config %> <%= auto_link(simple_format(h(ReplaceEmailVariables.call(@email_config.value['body'], submitter: @submitter)))) %> <% else %>

Hi there,

Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.

Alternatively, you can download the copy using:

<% @documents.each do |document| %> <% end %>

Thanks,
<%= @current_account.name %>

<% end %>