I don't think it is related to having gone into e-mail, but a failed auto update.
The error you reported is often associated with firewall blocking of the update, ensure your firewall allows avast.update. If it does delete the entry for it and do a manual update and reconnect to the internet, this will force the firewall to ask permission again.