Inspired by SRARAD/slack-email.
- Set MX record
- Install docker-compose
- Edit
SLACK_TOKEN
in docker-compose.yml docker-compose up -d
- Forward an email to
channelname@yourdomain.example.com
If you set PREFIX_REGEXP
, mail address will be tested.
For example, you will set slack-
, the address accepted is slack-channelname@yourdomain.example.com
.
For example, you will set :slack:
icon to bot, you forward to channelname+slack@yourdomain.example.com
.
If you don't set icon name, bot talk with :email:
icon.
(c) 3846masa MIT