To implement sync window suggestions (see https://jira.kopano.io/browse/KOE-159) we need to expose the store size via webservice.
This should be located in WebserviceInfo->GetUserInfo() that returns:
- nr of folders
- total size (estimated) - get PR_MESSAGE_SIZE_EXTENDED of store
- Full name (from GAB) (optional)
- email address (from GAB) (optional)
This could be one method called directly on the backend, collecting these informations and returning them.
The webservice call would then always reflect the live data from the server.