Made more parts of the KanbanMail codebase work with the new IndexedDB code