emailjs / emailjs-imap-client

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

QRESYNC support (VANISHED) #209

Open vitalif opened 5 years ago

vitalif commented 5 years ago

Hi. There's an extension here https://tools.ietf.org/html/rfc5162 which allows for fast IMAP synchronization, including UID message delete notifications (VANISHED). It seems rather simple to support - you only need to send ENABLE QRESYNC and then watch for additional mailbox flags + VANISHED responses instead of EXPUNGE.