[feat] Add an imap watcher for emails. (#4536)

[feat] Add an imap watcher for emails.
This commit is contained in:
Tom Rogers
2025-02-09 18:30:15 +01:00
committed by GitHub
parent 7a7dafa27c
commit 9ebcfd840b
22 changed files with 532 additions and 1 deletions

View File

@ -0,0 +1,10 @@
#MAIL
WATCHER_API_KEY=mail-api-key
WATCHER_API_ENDPOINT=https://omnivore-watch.omnivore.tld
IMAP_HOST=imap.gmail.com
IMAP_PORT=993
IMAP_USER=email@address.com
IMAP_PASSWORD=password
OMNIVORE_EMAIL=uuid@omnivore.tld
WAIT_TIME=600000

View File

@ -0,0 +1,8 @@
services:
imap-watcher:
build:
context: ../../../../
dockerfile: ./packages/imap-mail-watcher/Dockerfile
container_name: "omnivore-imap-watch"
env_file:
- .env.imap

View File

@ -50,7 +50,7 @@ services:
"
watcher:
build:
context: ../../../
context: ../../../../
dockerfile: ./packages/local-mail-watcher/Dockerfile-watcher
container_name: "omnivore-mail-watch"
volumes: