Force a data base rebuild

I am getting a error saying there is no connection available yet the account seems to be working normally so I suspect a database corruption. Is there a way to force a rebuild without losing any data?

If you are using the Windows version of eM Client, then close eM Client, and then open a “Command Prompt” and run this command:

“C:\Program Files (x86)\eM Client\MailClient.exe” /dbrepair