Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Free Tools
  4. excellent Gmail Scripting resource article, with two useful scripts

excellent Gmail Scripting resource article, with two useful scripts

Scheduled Pinned Locked Moved Free Tools
csharpjavajavascriptcomdebugging
4 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BillWoodruff
    wrote on last edited by
    #1

    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)

    L 1 Reply Last reply
    0
    • B BillWoodruff

      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)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Clicky?

      Use the best guess

      B 1 Reply Last reply
      0
      • L Lost User

        Clicky?

        Use the best guess

        B Offline
        B Offline
        BillWoodruff
        wrote on last edited by
        #3

        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)

        L 1 Reply Last reply
        0
        • B BillWoodruff

          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)

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          :thumbsup:

          Use the best guess

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups