email_registered script