<% content_for('sidebar') { %>
<%=_('Folders')%>
<%=link_manage_folders%>
<% for folder in @folders %>
- <%=folder_link(folder)%>
<% end %>
<% } %>
<% if not(@request['msg_id'] == '') %>
<%= render_component(:controller => "webmail/webmail", :action => "message", :params => { 'msg_id' => @request['msg_id']})%>
<% else %>
<%= render_component(:controller => "webmail/webmail", :action => "messages") %>
<% end %>