<commit_before># mailgen
[![npm version](https://badge.fury.io/js/mailgen.svg)](https://www.npmjs.com/package/mailgen)

A Node.js package that generates clean, responsive HTML e-mails for sending transactional mail.

> Programmatically create beautiful e-mails using plain old JavaScript.

## Demo

<img src="https://raw.github.com/eladnava/mailgen/master/screenshots/salted/reset.png" height="400" />
<img src="https://raw.github.com/eladnava/mailgen/master/screenshots/salted/receipt.png" height="400" />

## Usage

First, install the package using npm:

```shell
npm install mailgen --save
```

Then, start using the package by importing and configuring it:

```js
var Mailgen = require('mailgen');<commit_msg>Add a note about salted theme in demo section of README<commit_after># mailgen
[![npm version](https://badge.fury.io/js/mailgen.svg)](https://www.npmjs.com/package/mailgen)

A Node.js package that generates clean, responsive HTML e-mails for sending transactional mail.

> Programmatically create beautiful e-mails using plain old JavaScript.

## Demo

<img src="https://raw.github.com/eladnava/mailgen/master/screenshots/salted/reset.png" height="400" />
<img src="https://raw.github.com/eladnava/mailgen/master/screenshots/salted/receipt.png" height="400" />

> These e-mails were generated using the built-in `salted` theme.

## Usage

First, install the package using npm:

```shell
npm install mailgen --save
```

Then, start using the package by importing and configuring it:

```js
var Mailgen = require('mailgen');
{'fraction_non_alphanumeric': 0.13680781758957655, 'fraction_numerical': 0.007817589576547232, 'mean_word_length': 4.93050193050193, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579831', 'n_tokens_mistral': 533, 'n_tokens_neox': 482, 'n_words': 134}