<%= notice %>

Emails

<% @emails.each do |email| %> <% end %>
Date Subject Metadata
<%= email.date %> <%= email.subject %> <% email.organisations.each do |organisation| %> <% end if email.organisations %> <% email.servers.each do |server| %> <% end if email.servers %> <% if email.cron? %> <% end %> <% if email.mailing_list? %> <% end %> <% if email.junk? %> <% end %> <%= link_to 'Show', email %> <%= link_to 'Edit', edit_email_path(email) %> <%= link_to 'Destroy', email, method: :delete, data: { confirm: 'Are you sure?' } %>
<%= paginate @emails %>
<%= link_to 'New Email', new_email_path %>