Kojak,

What do you mean by scanning twice?
What makes you believe that Avast runs a double scan of incoming and outgoing mail?

???