<%= notice %>

Emails

<% @emails.each do |email| %> <% end %>
<%= email.date %> <%= email.subject %> <%= link_to 'Show', email %> <%= link_to 'Edit', edit_email_path(email) %> <%= link_to 'Destroy', email, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Email', new_email_path %>