From ab71f190a9991b9d5175dd024daedec9fa1bbd51 Mon Sep 17 00:00:00 2001 From: Vinay Vyas <69166360+vinay-google@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:04:10 -0800 Subject: [PATCH] chore: Update Samples.gs --- gmail-sentiment-analysis/Samples.gs | 36 ----------------------------- 1 file changed, 36 deletions(-) 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.") -}