Sync the flags using a mail operation. This way you'll get progress
[modest] / src / modest-runtime-priv.h
2007-04-21 Dirk-Jan C. Binnema* cleanup: moved init stuff to modest-init.[ch]