mail-to-telegram
listens to your mail (imap) and sends the message on telegram. The email updates are fetched with polling every 15 seconds.
docker pull arthurwow/mailbot
docker run --rm arthurwow/mailbot --help
docker-compose.yml
version: "3.7"
services:
mailbot:
image: arthurwow/mailbot
env_file:
- .env
restart: always
.env
EMAIL_SERVER=imap.yandex.ru:993
EMAIL_LOGIN=[email protected]
EMAIL_PASSWORD=your_password
TELEGRAM_TOKEN=123456789:AABB-telegram-bot-token-from-botfather
TELEGRAM_USER_ID=1234567894
To start:
docker-compose pull
docker-compose up -d