Sign inSign up

icodr8/imap2push

By icodr8

•Updated over 5 years ago

Image
0

948

icodr8/imap2push repository overview

⁠IMAP 2 PUSH

Trigger a webhook to push a message when a new email is available.

⁠Usage

Create a docker-compose.yml file and replace the parameters inside. At the volumes section you can define where your files should be stored.

version: '3'

services:
  imap2push:
    image: icodr8/imap2push:latest
    environment:
      - IMAP_HOST=YOUR_EMAIL_HOST
      - IMAP_USER=YOUR_EMAIL_USER_ACCOUNT
      - IMAP_PASSWORD=XXXXXXXXXXXXXXXX
      - IMAP_PORT=993
      - IMAP_TLS=true
      - DEBUG=true
      - MAIL_STORAGE_PATH=/imap2push/data
      - WEBHOOK_PATH=https://url
      - EMAIL_FROM_REGEX=.*
      - CONDITION_REGEX=.*
      - SUBJECT_REGEX=^(.*)$
      - SUBJECT_REGEX_REPLACE=$1
      - SUBJECT_REGEX_FAILED_MESSAGE=Failed
      - INTERVAL_TIME=10000
    volumes:
      - ./data:/imap2push/data:rw

After that you can run the container with docker-compose up -d command.

Tag summary

Content type

Image

Digest

Size

377.6 MB

Last updated

over 5 years ago

docker pull icodr8/imap2push