Skip to content

petuhovskiy/mail-to-telegram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Go version Docker

About

mail-to-telegram listens to your mail (imap) and sends the message on telegram. The email updates are fetched with polling every 15 seconds.

Install

Docker

docker pull arthurwow/mailbot
docker run --rm arthurwow/mailbot --help

docker-compose

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=your_email@yandex.ru
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

About

Mail (IMAP) to telegram

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.7%
  • Dockerfile 6.3%