Skip to content

Commit

Permalink
fix: reverted sample code to previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansari committed Jan 23, 2025
1 parent 1452ff4 commit aa83438
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions gmail-sentiment-analysis/Gmail.gs
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,30 @@ function generateSampleEmails() {
// Send emails
GmailApp.sendEmail(
userEmail,
"Thank you for amazing service!",
"Hi, I really enjoyed working with you. Thank you again!",
'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.",
'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.",
'Complaint!',
'',
{
name: 'Customer C',
htmlBody: `<p>Hello, You are late in delivery, again.</p>
<p>Please contact me ASAP before I cancel our subscription.</p>`,
},
);

Expand Down

0 comments on commit aa83438

Please sign in to comment.