excellent Gmail Scripting resource article, with two useful scripts
-
This site appears to be a blog (?) by "johneday." I debated whether this should be posted here, or on "Tips/Tricks," but, after reviewing the "Tips/Tricks" submission process, decided it belongs here. The article title is: "Create time-based Gmail filters with Google Apps Script" [^]. I found this an excellent introduction to scripting GMail, something I had never really looked into before. I think anyone who knows JavaScript, Java, or C#, will immediately understand the script code (it's probably just JavaScript hooking onto some Google API's within the special facility GMail provides for creating scripts ?). The two script examples shown: 1. "cleanUp" shows you how to enumerate all your GMail InBox messages which are tagged with a certain Label, or Labels, and move them to the Trash: if they are older than a number of days you specify. 2. "archiveInBox" shows you how to enumerate all your GMail InBox messages which do not match a given Label, or Labels, and move them to the Archive folder. In reponse to reader questions about this article, imho, "johneday" gives patient, and useful feedback, and futher suggestions, as well as helping readers debug syntax errors they made in their own scripts. I find the article, and these two scripts, useful, and I hope you do, too. yrs, Bill
This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)
-
This site appears to be a blog (?) by "johneday." I debated whether this should be posted here, or on "Tips/Tricks," but, after reviewing the "Tips/Tricks" submission process, decided it belongs here. The article title is: "Create time-based Gmail filters with Google Apps Script" [^]. I found this an excellent introduction to scripting GMail, something I had never really looked into before. I think anyone who knows JavaScript, Java, or C#, will immediately understand the script code (it's probably just JavaScript hooking onto some Google API's within the special facility GMail provides for creating scripts ?). The two script examples shown: 1. "cleanUp" shows you how to enumerate all your GMail InBox messages which are tagged with a certain Label, or Labels, and move them to the Trash: if they are older than a number of days you specify. 2. "archiveInBox" shows you how to enumerate all your GMail InBox messages which do not match a given Label, or Labels, and move them to the Archive folder. In reponse to reader questions about this article, imho, "johneday" gives patient, and useful feedback, and futher suggestions, as well as helping readers debug syntax errors they made in their own scripts. I find the article, and these two scripts, useful, and I hope you do, too. yrs, Bill
This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)
-
Thanks, Richard ! I don't know how I screwed pasting in the link and chopping off its head, but it's fixed now. yours, Bill
This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)
-
Thanks, Richard ! I don't know how I screwed pasting in the link and chopping off its head, but it's fixed now. yours, Bill
This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)