How to send email depending on user's selection