<% if @emails.any? %>
From To Subject Received At
<% @emails.each do |email| %> <%= render(EmailListEntryComponent.new(email: email)) %> <% end %> <% else %>

¯\_(ツ)_/¯

We couldn't find any emails.

<% end %>