How to send emails based on user's answer?