Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.25 KB

README.adoc

File metadata and controls

37 lines (25 loc) · 1.25 KB

Gmail Google Apps Script

Ninjas.cl MIT

🚀 Environment setup

Requirements

Installation

  1. Create a new project in Google Apps Script.

  2. Upload the code inside action.gs.js.

  3. Enable Advanced Services.

  4. Configure token, label and endpoint constants.

  5. Ensure that some emails have the label and are unread.

  6. Save and run (Need to give permissions first).

Example server

And example server made with Fastify was made to demostrate usage. Ensure to configurate the project’s tokens and endpoints.

Use make install and make serve to run.

🤔 Project explanation

This is an small proof of concept. A simple gmail script that will fetch unread emails with a specific label. Then sent them to an specific server endpoint where you can process them further or save them to a database or another place.

Made with by Ninjas.cl.