See this thread below.
Note: - Before running the database utility in the link above, backup eM Client via “Menu / Backup” incase you need to restore for any reason. You can see when the backup is complete via show operations in the dropdown next to refresh.
Also close eM Client before running the utility.