GithubHelp home page GithubHelp logo

akrava / gmail-tg-notifications Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 11.0 353 KB

Simple telegram bot to forward emails from Gmail to any chat, channel or private group

Home Page: https://t.me/gmail_notifications_bot

License: MIT License

TypeScript 99.28% Shell 0.72%
typescript telegram-bot gmail email-notification gmail-bot gmail-tg-notifications telegram

gmail-tg-notifications's Introduction

gmail-tg-notifications

GitHub Gitter Telegram chat Telegram bot

Deployed tg bot: link

gmail-tg-notifications's People

Contributors

akrava avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gmail-tg-notifications's Issues

A little more info on how to use it

Is there any sample of where and how to get all the env variables?
It is still not clear to me these env variables and where to get the values for them.

WEBHOOK_TG_PATH = "/path"
GAPPS_PUSH_PATH = "/path"
SERVER_PATH = "https://server.tld"
GOOGLE_SITE_VERIFICATION = "google..."
PUB_SUB_TOPIC = "projects/PROJECT_ID/topics/TOPIC_NAME"
UPDATE_PUB_SUB_TOPIC_PATH = "/path"
GOOGLE_CREDENTIALS = "credentials"

Encrypt tokens with random keys before saving them to the database

In order to prevent access to gmail emails from anyone who has access to the database and bot environment variables, the tokens that are saved to the database should be encrypted using a cryptogtaphically-strong randomly generated private keys.

But this also means there might be an issue whilst redeploying the application (make sure the data is not lost because of the private key loss).

Telegram Group for bot

Thanks so much for creating this bot it would be nice if there were a telegram group where people could join give feedback and ask questions, I'd love to help with this..

Reply chain

Hi, sometimes emails have a really big chain of replies with them and it would be nice to have some kind of toggle to cut replies or no

Regex to filter alias

As I have setup an alias for my gmail, so this is feature request. Can new command be added which will forword emails of particular alias to bot.

Also regex for filtering alias if multiple alias is present.

Add description to README.md

It would be very appreciated if you add some description of the project to README.md, some demo screenshots would also be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.