The key is in the quoted text, this is a warning, a suspicious attachment - If it actually was a virus you would have had a virus alert not a warning.

from: Avast! Subject: Avast! Heuritic - WARNING

Very suspicious extention from attachement

You didn’t state what the attachment file extension was ? What is done depends on your actions/settings in heuristics.