Git Product home page Git Product logo

hubot-email-notify's Introduction

Hubot-Email-Notify

An hubot script to make campfire completely absent @mention notification system as awesome as the Hipchat one.

In Brief: receive email notifications whenever you get @mentioned in a room while being away.
If you mention @someone (using @) in a room while the mentioned user is offline, a notification email with the message, details and a link to the direct transcript will be sent to him via email.

Setup

Install dependencies

  • @npm install mail

Run Hubot

  1. place this in your ~/.bash_profile
  2. HUBOT_EMAIL_HOST – The email host where you will send the email from (ex “smtp.gmail.com”)
  3. HUBOT_EMAIL_USERNAME – The username of the email accoun that hubot will use to send email notification
  4. HUBOT_EMAIL_PASSWORD – The password for the email account
  5. HUBOT_EMAIL_USER_* – Users email address (for example: HUBOT_EMAIL_USER_NICK=“[email protected]”)
  6. HUBOT_GITHUB_TOKEN – GH OAuth2 Token, (if you using the campfire adaptor you should have it already there)
  7. HUBOT_CAMPFIRE_ACCOUNT – See campfire adapter
  1. install node, npm and clone hubot
    brew install node
    curl http://npmjs.org/install.sh | sh
    clone git://github.com/github/hubot.git
  1. go to the hubot/scripts folder and get the email-notify scripts in there
    https://github.com/nickbalestra/hubot-email-notify
  1. install the dependencies for hubot-email-notify
    npm install mail
  1. run hubot with campfire
    bin/hubot -a campfire -n Hubot
  1. Receive email notifications whenever you get @mentioned in a room while you not there.

hubot-email-notify's People

Watchers

David Laing avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.