1]
Setup the mail as if Avast isn’t there.

2]
If you have a NT based system: Avast will take care of the rest automaticly
If you have Windows 98(se) / ME : Run the mail protection wizzard

This is also explained in the help file. I suggest you read that to get familiar with Avast, the options it is offerering you and what the options mean/do.