How can I use form input data to determine where emails are sent?