add auto-send mail when registering