Skip to content

fastiuk/email2telegram

Repository files navigation

Project: email2telegram Powered by: MailToTelegramForwarder

Docker GitHub CI GitHub issues Protocol: IMAP API: Telegram Bot License: GPL + MIT GitHub forks GitHub stars

email2telegram

Email to Telegram forwarder docker service

Building docker image

Run the next command:

cd email2telegram
docker build -t email2telegram .

Running the app

Run this command with proper data set to variables:

docker run \
    -e IMAP_USER=<Username> \
    -e IMAP_PASSWORD=<Password> \
    -e IMAP_SERVER=<Server address> \
    -e TELEGRAM_BOT_TOKEN=<Token> \
    -e TELEGRAM_CHAT_ID=<Chat ID> \
    -e READ_OLD_MAILS=False \
    -e MAIL_SUBJECT=<Subject to match> \
    -e FORWARD_MAIL_CONTENT=True \
    -e CUT_FROM_SUBJECT="test "
    email2telegram

Authors

  • Awalon - The core service MailToTelegramForwarder - @awalon

  • Yevhen Fastiuk - email2telegram Docker wrapper - @fastiuk

License

This project and MailToTelegramForwarder are licensed under the GPLv3 License - see the LICENSE file for details.

Some parts (from IMAPBot) are licensed under the The MIT License (MIT) - see the LICENSE-MIT.md file for details.