emailjs / emailjs-imap-client

Low-level JS IMAP client for all your IMAP needs.
MIT License
553 stars 122 forks source link

onupdate after reconnect #196

Open geek4teck opened 5 years ago

geek4teck commented 5 years ago

I am planning to build an imap client.

onupdate works fine which is good.

The problem is - I am doing an offline desktop client (downloading all emails in local database - sqlite) which means it will go offline (Laptop turned off) and after sometime it will again start the application (when laptop is turned on). I need to know what all happened to the mailbox in between (emails deleted, new emails arrived, emails sent etc). So that I can make those changes in my database and keep my local store up-to-date.

Any help will be highly appreciated.