How to send conditional email to based on a dynamic number of selection?