1
1
/*
2
2
Copyright 2025 Google LLC
3
3
4
- Licensed under the Apache License, Version 2.0 (the " License" );
4
+ Licensed under the Apache License, Version 2.0 (the ' License' );
5
5
you may not use this file except in compliance with the License.
6
6
You may obtain a copy of the License at
7
7
8
8
https://www.apache.org/licenses/LICENSE-2.0
9
9
10
10
Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an " AS IS" BASIS,
11
+ distributed under the License is distributed on an ' AS IS' BASIS,
12
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
See the License for the specific language governing permissions and
14
14
limitations under the License.
@@ -24,30 +24,32 @@ function generateSampleEmails() {
24
24
// Send emails
25
25
GmailApp . sendEmail (
26
26
userEmail ,
27
- " Thank you for amazing service!" ,
28
- " Hi, I really enjoyed working with you. Thank you again!" ,
27
+ ' Thank you for amazing service!' ,
28
+ ' Hi, I really enjoyed working with you. Thank you again!' ,
29
29
{
30
30
name : 'Customer A' ,
31
31
} ,
32
32
) ;
33
33
34
34
GmailApp . sendEmail (
35
35
userEmail ,
36
- " Request for information" ,
37
- " Hello, I need more information on your recent product launch. Thank you." ,
36
+ ' Request for information' ,
37
+ ' Hello, I need more information on your recent product launch. Thank you.' ,
38
38
{
39
39
name : 'Customer B' ,
40
40
} ,
41
41
) ;
42
42
43
43
GmailApp . sendEmail (
44
44
userEmail ,
45
- " Complaint!" ,
46
- "Hello, You are late in delivery, again. Please contact me ASAP before I cancel our subscription." ,
45
+ ' Complaint!' ,
46
+ '' ,
47
47
{
48
48
name : 'Customer C' ,
49
+ htmlBody : `<p>Hello, You are late in delivery, again.</p>
50
+ <p>Please contact me ASAP before I cancel our subscription.</p>` ,
49
51
} ,
50
52
) ;
51
53
52
- console . log ( " Sample email generation completed." )
54
+ console . log ( ' Sample email generation completed.' )
53
55
}
0 commit comments