Do you want avast! or your email client to block that extensions? Do you want to block or scan that attchments?
Which is your email client? Which OS are you using?