in reply to Describe your Dream WebMail App

What I would like to see is tags used instead of folders - so that you can combine them with union and intersection (particularily intersection) integrated with sort and search by words.

In fact I have a prototype bookmarking app where I put some of my ideas for an ideal user interface for an archive: LinkMine

This is a Catalyst web application and I can give you the source code. At Tags and search and DBIx::Class I've described my DBIx::Class database model supporting this interface.