Click the avast icon on the system tray. Select the Internet Mail, click customize. Select the Heuristic Tab, select Custom in the slider scale, this allows access to the Whitespace sequence check. You can either disable it or change the number of spaces.
HTH David