This serie factorizes the sync operation.
- First patch moves some code that was executed only for mbox and mmdf mailboxes directly into mbox_sync_mailbox. - Second patch adds a new wrapper function for IMAP so that it has a function with the same prototype as other mailboxes. - Third patch adds the sync operation to the mx_ops structure.
