Why do you need to use this off-line registration function. That said it shouldn’t matter it should work, why you aren’t getting an email is strange.
Is the system you are using off-line ?
What avast version are you using ?
You should be able to re-register from the avast user interface, but it has changed some from earlier versions.
Does your avast Subscription/Registration window look like this image ?