mirror of
https://github.com/MailHops/mailhops-imap-listener.git
synced 2025-05-15 09:20:08 -07:00
25 lines
918 B
Markdown
25 lines
918 B
Markdown
# MailHops IMAP listener
|
|
[www.MailHops.com](https://www.mailhops.com)
|
|
|
|
<img src="https://www.mailhops.com/images/logos/logo.png" alt="MailHops logo" title="MailHops" align="right" />
|
|
|
|
This app will loop through all the mail in an IMAP account and geo route all messages. You can use the live feed on your mailhops.com account to monitor your incoming messages. Leave it running and it will route incoming messages.
|
|
|
|
You can also add a [custom Slack integration](https://mailhops.slack.com/apps/build/custom-integration) to post messages to Slack. Use the subjectFilter or fromAddress in [the config](config.sample) to limit the messages posted to Slack.
|
|
|
|
```sh
|
|
# install npm modules
|
|
npm install
|
|
|
|
# Add you email connection info in config.json
|
|
cp config.sample config.json
|
|
|
|
# set searchFilter to UNSEEN to only monitor new incoming messages
|
|
vim config.json
|
|
|
|
# start the app
|
|
npm start
|
|
```
|
|
|
|
<img src="screenshot.png">
|