mbsync: use a dispatch function to choose what to sync
mbsync: check connectivity with network manager before syncing

We check we are not using a costly modem connection...