Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions gmail-sentiment-analysis/Samples.gs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Loading