If you are lucky then with “Smoothing” effect you can fill the gaps and then you can fill cavities using “Flood filling” effect (in SegmentEditorExtraEffects extension).
Unfortunately, often you cannot make your mesh watertight easily. In such cases, follow these instructions: