A Google Scripts Web App to dynamicaly generate an RSS feed based on labeled emails (RSS Feed/<RSS_FEED_NAME>)
- Create a blank project on https://script.google.com/
- Copy content of
Code.gsinto your new project - Run the script once by clicking Menu
Run > doGet- You will be asked to grant this script access to your Gmail account
- Accept the request
- Create a first version by clicking Menu
File > Manage Versions - Deploy this script by clicking Menu
Publish > Deploy as web app- Select
Execute the app as : me - Select
Who has access to the app : Anonyone, even anonymous - Copy
Current web app URLe.g.https://script.google.com/macros/s/<SCRIPT_ID>/exec ⚠️ Everyone with this URL is potentialy able to read all mails labled withRSS Feed/<RSS_FEED_NAME>
- Select
- Label your first emails with a nested
RSSlabel (RSS Feed/<RSS_FEED_NAME>) e.g.RSS Feed/Newsletter - Create your feed URL by add following query parameters to
Current web app URLgmail-rss-feed=<RSS_FEED_NAME>selects rss feed name of coresponding Gmail label (RSS Feed/<RSS_FEED_NAME>)multi-authorenables author name to be prepand to feed item titles- Example URL
https://script.google.com/macros/s/<SCRIPT_ID>/exec?gmail-rss-feed=Newsletter&multi-author