Search code examples
google-apps-scriptgmail

Google Apps Script does not support searching emails from a circle


When I run following code in Google Apps Script it return 0 results. I still have sufficient quota to fetch results. So quota is not a problem here.

var threads = GmailApp.search("circle:following");

But the same query in original Gmail user interface works and returns a few emails. What could be the possible cause of this ? Or my syntax is wrong ?


Solution

  • Doesn't look like this is supported.

    Apps Script issue #2172