is this related to avast? does it work if you turn off avast mail shield?
if not a avast problem, have you tried Gmail support forum?