This code can be set up as a trigger so that when a Google Form is submitted, the re-edit URL for that submission is automatically included on the spreadsheet and also sent to the user via email.