Go to the Tasks section of eM Client.
Right-click on the Gmail Tasks folder and choose Properties > Repair > Repair.