How can I send automated thank you email to the person who register?