An open API service indexing awesome lists of open source software.

https://github.com/kkiling/telegram-email-assistant

Telegram bot that sends notifications of new emails.
https://github.com/kkiling/telegram-email-assistant

docker docker-compose email golang imap python sqlite sqlite3 telegram telegram-bot

Last synced: 4 months ago
JSON representation

Telegram bot that sends notifications of new emails.

Awesome Lists containing this project

README

          

# TelegramEmailAssistant

Telegram bot that sends notifications of new emails. With the ability to read the mail
.

# Configuration

The configuration file template is located along the path /configs/config.template.yml

| Parameter | Description |
| ------------------------- | :----------------------------------------------------: |
| app.file_directory | Path for saving emails and attachment files |
| app.store_db | Path to sqlite file |
| app.max_text_message_size | The maximum size of the mail message output as text |
| app.mail_check_timeout | Interval for checking new messages (sec) |
| imap.login | Imap server login |
| imap.imap_server | Imap server address |
| imap.password | Password imap server |
| telegram.bot_token | Telegram bot token ( @BotFather ) |
| telegram.users.user_id | Telegram bot user |
| telegram.users.imap_login | Mailbox that is associated with telegram.users.user_id |

# Build docker image

```
docker build -t kiling91/telegram-email-assistant:0.1.20 .
docker push kiling91/telegram-email-assistant:0.1.20
```

# Run docker

```
docker-compose up
```