How to send email only when certain column is chosen in an input table.