# mail-queue

> mail client with simple in-memory queueing

Latest version **0.1.1** (published 2017-12-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install mail-queue
pnpm add mail-queue
yarn add mail-queue
bun add mail-queue
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-12-10 |
| First published | 2017-12-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | kugtong33 |
| Keywords | mail, queue |

## Links

- npm: https://www.npmjs.com/package/mail-queue
- Repository: https://github.com/HighOutputVentures/mailer-queue
- Homepage: https://github.com/HighOutputVentures/mailer-queue#readme
- Issues: https://github.com/HighOutputVentures/mailer-queue/issues
- npm.io page: https://npm.io/package/mail-queue

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^3.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [mailgun-js](https://npm.io/package/mailgun-js.md) ^0.13.1

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2017-12-10
- 0.1.0 — 2017-12-03

## README

# Mail Queue

A mailer tool that sends __bulk emails using mailgun__ in a controlled manner using the __prefetch__ and __delay__ configurations, prefetch is the number of emails send concurrently in a single time while the delay is the interval in seconds between prefetches.

## Usage

```javascript
import mailer from 'mailer-queue';

mailer(
  [
    { from: ..., to: ..., subject: ..., text: ... },
    { from: ..., to: ..., subject: ..., text: ... },
    { from: ..., to: ..., subject: ..., text: ... },
    { from: ..., to: ..., subject: ..., text: ... },
    ...
  ],
  5, /* prefetch */
  100, /* delay */
  function(err) { if (err) throw err; }
);
```

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