Skip to content

Lambda function utilizing the serverless platform to auto mark gmail messages as read

Notifications You must be signed in to change notification settings

tgupta3/GMAIL-AUTOREAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto mark GMAIL messages as read

Mark messages in GMAIL as read at 2:00 UTC everyday.

Getting Started

Get started by cloning the respository and adding a secret.yml file with the following contents

default: &default
  <<: *default
  KMS_KEY: "CiphertextBlob"
  KMS_ARN: "ARN of the KMS Key"

Prerequisites

Requires the following things:

  1. Serverless framework
  2. Google OAuth Libraries
    pip install google-api-python-client
    
  3. Node 6+

Installing

git clone https://github.com/tgupta3/GMAIL-AUTOREAD

Make sure to add the secret.yml

Deployment

Deploy it using the serverless framework

serverless deploy --verbose

Authors

  • Tushar Gupta - Initial work - tgupta3

TODO

  1. Add option to specify region
  2. Update the README on how to generate the OAuth Credentials as well as the KMS Key from that
  3. Write an Ansible playbook to deploy the application starting from generating credentials to final deployment on AWS Lambda

About

Lambda function utilizing the serverless platform to auto mark gmail messages as read

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages