From 35c13b34328b8bce8c354ed72adc4f29fbb1389d Mon Sep 17 00:00:00 2001 From: Niraj D Date: Sun, 11 Oct 2020 12:05:32 -0400 Subject: [PATCH 1/2] slghtly updated email format and clickable link Slight change to formatting and ability to click on subject to go to email --- email.html | 81 ++++++++++++++++++++++++------------------------------ 1 file changed, 36 insertions(+), 45 deletions(-) diff --git a/email.html b/email.html index 378ed34..152c65d 100644 --- a/email.html +++ b/email.html @@ -1,50 +1,41 @@ - - - - - Bulk Email Summary - - + + + + + Bulk Email Summary + - - - - - - - - - - - + +
-
-

- - wrote: - -

-
- -

- -

-

- at - from - - | unsubscribe -

- -
+ + - - - - - -
- + +

+ +

+

+ at +

+

+ + unsubscribe + +

+ + +

+ +

+ + + + + + + From 5a5aa6292312a19c5cd1c4e8bb9df76eaa0292ce Mon Sep 17 00:00:00 2001 From: Niraj D Date: Sun, 11 Oct 2020 12:06:28 -0400 Subject: [PATCH 2/2] pass permalink to email template --- noneroll.gs | 1 + 1 file changed, 1 insertion(+) diff --git a/noneroll.gs b/noneroll.gs index 2140ff7..1713d70 100644 --- a/noneroll.gs +++ b/noneroll.gs @@ -47,6 +47,7 @@ function getEmails() { for (var i = 0; i < threads.length; i++) { if (threads[i].getLastMessageDate()>maxDate){ var d = {} + d.permalink = threads[i].getPermalink() d.subject = threads[i].getFirstMessageSubject() var from = threads[i].getMessages()[0].getFrom() d.from = from.replace(/\"|<.*>/g,'')