Is it possible to send emails based on user input?