On Fri, 15 Apr 2011 09:24:36 +1200, Anshul Singhle <xashck@xxxxxxxxx> wrote:
On a related note, the handling of threads is also another question. Would the mail thread be stored as an attribute or is there a better way of representing threads. If the thread a message belongs to is stored as an attribute, it would be possible to get threads via queries so i guess that should be enough.
here we come to the advantages of a fs. You just need to store the subject in the cache. From the subject you extract the thread an put it into a "virtual" attribute, e.g. when mounting the fs (there is enough time because you fetching the message list from the server in the meantime)