I have a simple Google Form, that is generate through a Google Apps Script and it stores data into a script created Spreadsheet. When a user submits data through the Google Form, I want to check if the email is a duplicate in the Spreadsheet, and if it is, then I want to prevent the insertion. Any guidance on how would I be able to that would be highly appreciated. I believe that onFormSubmit on the FormsApp runs after the data has been inserted into the Spreadsheet. If that's the case, how would I deal with a duplicate?