Skip to content

Commit aa83438

Browse files
committed
fix: reverted sample code to previous version
1 parent 1452ff4 commit aa83438

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

gmail-sentiment-analysis/Gmail.gs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,30 @@ function generateSampleEmails() {
7474
// Send emails
7575
GmailApp.sendEmail(
7676
userEmail,
77-
"Thank you for amazing service!",
78-
"Hi, I really enjoyed working with you. Thank you again!",
77+
'Thank you for amazing service!',
78+
'Hi, I really enjoyed working with you. Thank you again!',
7979
{
8080
name: 'Customer A',
8181
},
8282
);
8383

8484
GmailApp.sendEmail(
8585
userEmail,
86-
"Request for information",
87-
"Hello, I need more information on your recent product launch. Thank you.",
86+
'Request for information',
87+
'Hello, I need more information on your recent product launch. Thank you.',
8888
{
8989
name: 'Customer B',
9090
},
9191
);
9292

9393
GmailApp.sendEmail(
9494
userEmail,
95-
"Complaint!",
96-
"Hello, You are late in delivery, again. Please contact me ASAP before I cancel our subscription.",
95+
'Complaint!',
96+
'',
9797
{
9898
name: 'Customer C',
99+
htmlBody: `<p>Hello, You are late in delivery, again.</p>
100+
<p>Please contact me ASAP before I cancel our subscription.</p>`,
99101
},
100102
);
101103

0 commit comments

Comments
 (0)