##Install
git clone https://github.com/n3b/gmail2telegram
cd gmail2telegram
npm install
##Configure
- Obtain Google APIs tokens
- Obtain Telegram Bot credentials:
- Create Telegram Bot
- Start a chat with your new bot
- Get chat ID at
https://api.telegram.org/bot{YourBotToken}/getUpdates
- Copy
config.dist.json
toconfig.json
and replace the values there npm start
(Optional) use process manager to keep app process alive