Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-mail

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-mail

A Hubot script for preparing messages that will be delivered upon the recipient's next activity (i.e. joins room, enters a message).

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

hubot-mail

Build Status Dependency Status

A Hubot script for preparing messages that will be delivered upon the recipient's next activity (i.e. joins room, enters a message).

See src/mail.coffee for full documentation.

Installation via NPM

  1. Install the hubot-mail module as a Hubot dependency by running:

    npm install --save hubot-mail
    
  2. Enable the module by adding the hubot-mail entry to your external-scripts.json file:

    [
        "hubot-mail"
    ]
    
  3. Run your bot and see below for available config / commands

Configuration

VariableDefaultDescription
HUBOT_MAIL_KEY_mailThe unique key used for persistence (storing/retrieving mails from memory)

Commands

CommandListener IDDescription
hubot mail recipient messagemail.newSends a message to recipient when found available
hubot unmail [recipient]mail.cancelDeletes all mail sent by you. Optionally, if recipient is specified, only mail sent to recipient by you will be deleted

Sample Interaction

user1>> hubot mail user1 Hello world!
hubot>> user1: Are you sure you want to send a mail to yourself? Sad.

Keywords

FAQs

Package last updated on 29 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc