sync

Function sync 

Source
pub fn sync(opts: &SyncOptions) -> Result<(), SyncError>
Expand description

Synchronize local and remote changes between IMAP and local maildir

This includes fetching new mail, deleting expunged mails, updating tags, etc.