gmail FollowUp script
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOP
1
Adapted from:
2
http://gmailblog.blogspot.com/2011/07/gmail-snooze-with-apps-script.html
3
4
I've modified this to have hourly, daily, and weekly follow up labels. I've adjusted the label names to be keyboard shortcut friendly. And I mark messages important.
5
6
Setup:
7
8
Make a copy of this document to be your own. Open |File| menu, |Make a copy...|
9
10
11
Open |Tools| menu, |Script Editor|
12
// - From the |Run| menu select |setup|
13
// - if prompted to authorize, do so, and then repeat this step.
14
15
// - Set up triggers to run the script code:
16
// - |Triggers| menu |Current script's triggers...|
17
// - Make 3 triggers to call each of the following at the right interval:
18
// - dailyUpdate, Time Driven, Daily
19
20
The naming of FollowUp/1day labels makes it easy to apply labels. With keyboard shortcuts enabled in gmail, you can press "v1w" to move a message out of the inbox into the 1week label.
21
22
The "FollowUp" label is applied to messages so that when they appear back in the inbox you know that they did so because they were marked for FollowUp. It is added every hour to messages, so you may be tempted to use it to find all messages currently in the FollowUp queue... but recently added messages won't have it yet.
23
24
To see all messages that are marked for follow up enable the |Quick Links| lab in gmail. Then use the following search string, and add it to a quick link labeled, e.g. "FAll".
25
(label:followup-1days OR label:followup-1hours OR label:followup-1weeks OR label:followup-2days OR label:followup-2hours OR label:followup-2weeks OR label:followup-3days OR label:followup-3hours OR label:followup-3weeks OR label:followup-4days OR label:followup-4hours OR label:followup-4weeks OR label:followup-5days OR label:followup-5hours OR label:followup-5weeks OR label:followup-6days OR label:followup-6hours OR label:followup-6weeks OR label:followup-7days OR label:followup-7hours OR label:followup-7weeks OR label:followup-7days OR label:followup-7hours OR label:followup-7weeks OR label:followup-8days OR label:followup-8hours OR label:followup-8weeks OR label:followup-9days OR label:followup-9hours OR label:followup-9weeks)
26
You can then use the keystrokes "glfall" to bring up that search (goto-label 'fall').
27
28
Draft messages can be brought back to the inbox.
29
30
Muted messages will be moved back to the inbox. So you can mark a thread for FollowUp and then mute it, it'll come back to your inbox later.
31
32
End. Hope it serves you well.
Loading...
 
 
 
Sheet1