<% @emails.each do |email| %> <% end %>
to from subject body created at updated at
<%= email.to.map { |x| mail_to(x["full"]) }.join(",").html_safe %> <%= mail_to email.from["full"] %> <%= email.subject %> <%= email.body %> <%= l email.created_at, format: :short %> <%= l email.updated_at, format: :short %>
<%= paginate @emails, remote: false %>