Skip to content

qoomon/gmail-rss-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Gmail RSS Feed

A Google Scripts Web App to dynamicaly generate an RSS feed based on labeled emails (RSS Feed/<RSS_FEED_NAME>)

Installation

  • Create a blank project on https://script.google.com/
  • Copy content of 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/<SCRIPT_ID>/exec
    • ⚠️ Everyone with this URL is potentialy able to read all mails labled with RSS Feed/<RSS_FEED_NAME>
  • Label your first emails with a nested RSS label (RSS Feed/<RSS_FEED_NAME>) e.g. RSS Feed/Newsletter
  • Create your feed URL by add following query parameters to Current web app URL
    • gmail-rss-feed=<RSS_FEED_NAME> selects rss feed name of coresponding Gmail label (RSS Feed/<RSS_FEED_NAME>)
    • multi-author enables 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

About

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

Topics

Resources

Stars

Watchers

Forks