diff --git a/gmail-sentiment-analysis/Samples.gs b/gmail-sentiment-analysis/Samples.gs index ea58302f0..b3ce18691 100644 --- a/gmail-sentiment-analysis/Samples.gs +++ b/gmail-sentiment-analysis/Samples.gs @@ -51,39 +51,3 @@ function generateSampleEmails() { console.log("Sample email generation completed.") } - * Create sample emails - */ -function generateSampleEmails() { - // Get active user's email - var userEmail = Session.getActiveUser().getEmail(); - - // Send emails - GmailApp.sendEmail( - userEmail, - "Thank you for amazing service!", - "Hi, I really enjoyed working with you. Thank you again!", - { - name: 'Customer A', - }, - ); - - GmailApp.sendEmail( - userEmail, - "Request for information", - "Hello, I need more information on your recent product launch. Thank you.", - { - name: 'Customer B', - }, - ); - - GmailApp.sendEmail( - userEmail, - "Complaint!", - "Hello, You are late in delivery, again. Please contact me ASAP before I cancel our subscription.", - { - name: 'Customer C', - }, - ); - - console.log("Sample email generation completed.") -}