Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.
My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.
var MARK_UNREAD = false; var ADD_UNSNOOZED_LABEL = false; return "Snooze/Snooze " + i + " days"; // Create the labels we’ll need for snoozing GmailApp createLabel"Snooze"; for var i = 1; i <= 7; ++i GmailApp createLabel getLabelName i ; if ADD_UNSNOOZED_LABEL GmailApp createLabel"Unsnoozed"; var oldLabel newLabel page; for var i = 1; i <= 7; ++i newLabel = oldLabel; oldLabel = GmailApp getUserLabelByName getLabelName i ; page = null; // Get threads in "pages" of 100 at a time while!page || pagelength == 100 page = oldLabel getThreads0100; if pagelength > 0 if newLabel // Move the threads into "today’s" label newLabel addToThreads page ; else // Unless it’s time to unsnooze it GmailApp moveThreadsToInbox page ; if MARK_UNREAD GmailApp markThreadsUnread page ; if ADD_UNSNOOZED_LABEL GmailApp getUserLabelByName"Unsnoozed" addToThreads page ; // Move the threads out of "yesterday’s" label oldLabel removeFromThreads page ;