How to send email based on user's answer?