[messagingframework] Guard against folder sync happening too early. Contributes to JB#50565
If folders are set to sync too early after account creation the server crashes. This change adds a guard to prevent the folder list from returning with any values until the value is actively set in the Settings app to prevent this.
Showing with 18 additions and 15 deletions