Skip to content

Commit 6599fed

Browse files
authored
chore: Update Samples.gs (#516)
1 parent 8c9b185 commit 6599fed

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

gmail-sentiment-analysis/Samples.gs

-36
Original file line numberDiff line numberDiff line change
@@ -51,39 +51,3 @@ function generateSampleEmails() {
5151

5252
console.log("Sample email generation completed.")
5353
}
54-
* Create sample emails
55-
*/
56-
function generateSampleEmails() {
57-
// Get active user's email
58-
var userEmail = Session.getActiveUser().getEmail();
59-
60-
// Send emails
61-
GmailApp.sendEmail(
62-
userEmail,
63-
"Thank you for amazing service!",
64-
"Hi, I really enjoyed working with you. Thank you again!",
65-
{
66-
name: 'Customer A',
67-
},
68-
);
69-
70-
GmailApp.sendEmail(
71-
userEmail,
72-
"Request for information",
73-
"Hello, I need more information on your recent product launch. Thank you.",
74-
{
75-
name: 'Customer B',
76-
},
77-
);
78-
79-
GmailApp.sendEmail(
80-
userEmail,
81-
"Complaint!",
82-
"Hello, You are late in delivery, again. Please contact me ASAP before I cancel our subscription.",
83-
{
84-
name: 'Customer C',
85-
},
86-
);
87-
88-
console.log("Sample email generation completed.")
89-
}

0 commit comments

Comments
 (0)