Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gangstead/hubot-mail-listener
Post emails in channels
https://github.com/gangstead/hubot-mail-listener
hubot hubot-plugins
Last synced: 24 days ago
JSON representation
Post emails in channels
- Host: GitHub
- URL: https://github.com/gangstead/hubot-mail-listener
- Owner: gangstead
- Created: 2017-01-12T19:49:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-27T20:40:09.000Z (over 5 years ago)
- Last Synced: 2024-11-14T19:13:19.177Z (about 1 month ago)
- Topics: hubot, hubot-plugins
- Language: JavaScript
- Size: 98.6 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hubot-mail-listener
hubot-mail-listener adds an **IMAP** listener plugin to hubot that reports
unread or incoming new emails (sender, subject, date, text message).Message is put in as a slack message attachment
![demo](https://raw.githubusercontent.com/gangstead/hubot-mail-listener/master/demo.png)
## Installation
Edit the `package.json` for your hubot and add the hubot-mail-listener
dependency.```javascript
"dependencies": {
"hubot-mail-listener": ">= 0.0.1",
...
}
```## Configuration
The following variables are required to let the script work:
* `HUBOT_MAIL_LISTENER_ROOMS`, comma separated list of rooms where incoming emails should be posted
* `HUBOT_MAIL_LISTENER_USERNAME`, username
* `HUBOT_MAIL_LISTENER_PASSWORD`, password
* `HUBOT_MAIL_LISTENER_HOST`, mail hostThe following variables are optional:
* `HUBOT_MAIL_LISTENER_PORT`, mail host port, default to `993`
* `HUBOT_MAIL_LISTENER_SECURE`, whether to use secure connection, default to `true`
* `HUBOT_MAIL_LISTENER_MAILBOX`, mail box to monitor, default to `INBOX`
* `HUBOT_MAIL_LISTENER_MARK_SEEN`, whether to mark seen email as read, default to `true`
* `HUBOT_MAIL_LISTENER_FETCH_UNREAD`, whether to fetch unread emails on start, default to `true`## See Also
This work is an updated and coffeescript free version of: https://github.com/matteoagosti/hubot-mail-notifier