An open API service indexing awesome lists of open source software.

https://github.com/qoomon/gmail-rss-feed

Google Scripts Project to generate a RSS feed based on labeled emails in your GMail Account
https://github.com/qoomon/gmail-rss-feed

api email feed gmail rss

Last synced: 8 months ago
JSON representation

Google Scripts Project to generate a RSS feed based on labeled emails in your GMail Account

Awesome Lists containing this project

README

          

# Gmail RSS Feed
A [Google Scripts](https://script.google.com) Web App to dynamicaly generate an RSS feed based on labeled emails (`RSS Feed/`)

### Installation
* Create a blank project on https://script.google.com/
* Copy content of [`Code.gs`](Code.gs) into 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 URL` e.g. `https://script.google.com/macros/s//exec`
* ⚠️ Everyone with this URL is potentialy able to read all mails labled with `RSS Feed/`
* Label your first emails with a nested `RSS` label (`RSS Feed/`) e.g. `RSS Feed/Newsletter`
* Create your feed URL by add following query parameters to `Current web app URL`
* `gmail-rss-feed=` selects rss feed name of coresponding Gmail label (`RSS Feed/`)
* `multi-author` enables author name to be prepand to feed item titles
* Example URL `https://script.google.com/macros/s//exec?gmail-rss-feed=Newsletter&multi-author`