<%= @dir %> <% dirs = ['inbox','outbox','archive'] dirs.delete(@dir) dirs.each do |d| %>
<% end %>

<% @threads.each do |object| @object = object %> <%= erb :object %> <% end %>