Increase the timeout time in avast.ini as well as in your email client. This is explained in many threads here already. Do a little search for the exact places where you must make the changes.