Skip to content

sdelquin/gema

Repository files navigation

gema

Logo Gema

gema stands for GobCan Email Alarm

This tool lets you receive Telegram notification when you receive an incoming email to Gobierno de Canarias.

Setup

  1. Create a Python virtualenv (>=3.10)
  2. pip install -r requirements.txt
  3. Add custom values in .env file for the following params:
  • TELEGRAM_BOT_TOKEN
  • TELEGRAM_CHAT_ID
  • INBOX
  • POP3_SERVER
  • POP3_USERNAME
  • POP3_PASSWORD

Usage

  1. Launch application:
$ python main.py

You can change loglevel using: -linfo -ldebug -lerror

  1. Disable notifications:
$ python main.py --no-notify
  1. Disable deleting emails after dispatching:
$ python main.py --no-delete

About

GobCan Email Alarm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published