How to get the list of all emails addresses associated to a Gmail label?
i.e. in a similar way than this question, but limited to a specific label?
Note: I post here with Answer your own question – share your knowledge, Q&A-style, because I don't have enough rep to post an answer in the aforementioned question.
Best Answer
Run the script with the URL (accept the permission questions about Gmail):
It will directly display the addresses in the browser, without needing a spreadsheet or anything else.
Code:
(*) Choose the "latest code" link, ending with
/dev
, it avoids to redeploy each time you do a tiny modification in code, as detailed here.