DB stores, sorts, tags and pipes data in from imap and out to front-end