Oxygem / Kanmail

:inbox_tray: An email client that functions like a kanban board.
https://kanmail.io
Other
1.3k stars 88 forks source link

Proper offline support #128

Open Fizzadar opened 4 years ago

Fizzadar commented 4 years ago

Specifically the ability to move/archive/delete/send emails when offline.

AND highlighting that we are offline.

n-a-m-e commented 4 years ago

There is another project on github LibreMail which has built a standalone application for IMAP Sync it saves the emails into a sql database in the LibreMail Data Format. The project page says the sync is ready to use so it might be a viable alternative to writing your own syncing engine.

n-a-m-e commented 4 years ago

OfflineIMAP might be a better fit since it is more mature and written in python, sorry just realized offlineimap relies on Python 2.7 it is going to be deprecated by the end of the year.

Fizzadar commented 4 years ago

Thanks for the links @n-a-m-e! Definitely considering a "full" style IMAP sync engine in the future (and not implementing one ideally!). For now I'm keen to keep the sync processes lightweight as they are - this issue is targetting doing actions offline (move/archive/etc) and then subseqently processing these once the client comes back online, where possible.

This RFC describes the process: https://www.rfc-editor.org/rfc/rfc4549