# mailhook

> A Node.js library to setup hooks to trigger Webhooks then receive emails.

Latest version **0.0.1** (published 2017-04-01) · 0 weekly downloads

## Install

```sh
npm install mailhook
pnpm add mailhook
yarn add mailhook
bun add mailhook
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-04-01 |
| First published | 2017-03-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Evan Tseng |
| Maintainers | evanxd |
| Keywords | automation, webhook, workflow |

## Links

- npm: https://www.npmjs.com/package/mailhook
- Repository: https://github.com/evanxd/mailhook
- Homepage: https://github.com/evanxd/mailhook#readme
- Issues: https://github.com/evanxd/mailhook/issues
- npm.io page: https://npm.io/package/mailhook

## Dependencies (1)

- [mail-listener2](https://npm.io/package/mail-listener2.md) 0.3.1

## Recent versions

- 0.0.1 (latest) — 2017-04-01
- 0.0.0 — 2017-03-30

## README

# mailhook
A Node.js library to setup hooks to trigger Webhooks then receive emails.

## How-to
Initialize a Mailhook instance.
```js
var Mailhook = require('mqtthook');
var mailhook = new Mailhook('user', 'password', 'host');
```

Trigger a Webhook to do something when receive emails from the specific email `mail@your-host.com` sender.
```js
mailhook.hook("mail@your-host.com")
        .trigger('https://webhook.fake/hooks/3345678');
```

---
_Source: https://npm.io/package/mailhook · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
