Sorry if I'm being silly, but are you changing the mail.server.com to your real mail server name?
And the #user by your real email user account?
Did you check to add notes in clean messages into avast settings?
Don't forget that you will not see the inserted note in the 'Sent Items' folder of your mail program, because avast adds the note after the mail leaves the mail program.