Sign inSign up

ormen/email2slack

By ormen

•Updated about 5 years ago

Email messages to Slack channel connector

Image
0

1.3K

ormen/email2slack repository overview

⁠Summary

Small bot that reads a POP3 email address and publish all its new messages to a configured Slack channel via Webhook.

It removes the message from the inbox after the publication in Slack, so use it with caution.

⁠Deploy

docker run \
    -e POP3_HOST=<pop3_host> \
    -e POP3_USER=<pop3_user> \
    -e POP3_PASS=<pop3_pass> \
    -e SLACK_URL=<channel_webhook> \
    -e WAIT_SECONDS=<seconds> \
    -e KEEP_FAILED_MAILS=<0/1> \
    ormen/email2slack

⁠Configuration

The following environment variables are mandatory:

NameDescription 
POP3_HOSTPOP3 email server
POP3_USERPOP3 account username
POP3_PASSPOP3 account pass
SLACK_URLURL of the Slack generated Webhook
WAIT_SECONDSSeconds to wait after each check
KEEP_FAILED_MAILSIndicates if emails that couldn't be published should be deleted [0/1]

Tag summary

Content type

Image

Digest

Size

63.5 MB

Last updated

about 5 years ago

docker pull ormen/email2slack