Sign inSign up

slappworks/lex-uploader

By slappworks

•Updated over 2 years ago

lex-uploader automatically uploads mail attachments to lexOffice from the configured imap account.

Image
1

1.4K

slappworks/lex-uploader repository overview

⁠slappworks/lex-uploader

lex-uploader automatically uploads mail attachments to lexOffice from the configured imap account.

All new/unread mails in that account will be processed. Attachments of type jpg, png and pdf will be uploaded to your lexOffice account. The mails won't be deleted (so it is possible to reprocess them simply by setting them to unread)

⁠Usage

docker run \
    --name=lex-uploader \
    --env IMAP_HOST=<your imap host> \
    --env IMAP_USER=<your imap user> \
    --env IMAP_PASS=<your imap password> \
    --env LEX_OFFICE_API_KEY=<your api key from lex office> \
    --env MAIL_POLL_INTERVAL=<optional seconds for mail polling, default 300 seconds> \
    --volume lex-uploader-data:/app/data \
    slappworks/lex-uploader:1

⁠Parameters

ParameterDescription
IMAP_HOSTThe name of your imap mail server, e.g. imap.gmail.com
IMAP_USERThe username of your mail account, e.g. [email protected]
IMAP_PASSThe password of your mail account, e.g. 5uP3r53cr3t
LEX_OFFICE_API_KEYThe api key used to upload files to your lexOffice account, e.g. 47aG9j5mFxe2ENeR8RkTJ6CPGtq
Go to https://app.lexoffice.de/settings/#/public-api⁠, login to your account and create a new api key.
MAIL_POLL_INTERVALThe polling interval in seconds to check for new mails. Default: 300 (seconds)

⁠Volumes

All data (config files, mail attachments) will be stored in the directory /app/data. You can create a named volume, e.g. lex-uploader-data and mount it with

 ...
 --volume lex-uploader-data:/app/data \
 ...

⁠Versions

VersionDescription
1.0.0Initial release

Tag summary

Content type

Image

Digest

sha256:42b487ebe…

Size

3.2 MB

Last updated

over 2 years ago

docker pull slappworks/lex-uploader