<commit_before># Thank-you note HTML email generator #

If everyone you care about uses email, and if the hope and hypothesis is true, that more and more are okay with receiving a thank-you note through email, then this template project could be for you.

This project is based on [Foundation for Emails](http://foundation.zurb.com/emails), a framework for creating responsive HTML devices that work in any email client. It has a Gulp-powered build system with these features:

- Handlebars HTML templates with [Panini](http://github.com/zurb/panini)
- Simplified HTML email syntax with [Inky](http://github.com/zurb/inky)
- Sass compilation
- Image compression
- Built-in BrowserSync server
- Full email inlining process

The following are features I added

- Write in markdown, compile to HTML
- Supports Chinese and English emails

## Workflow ##

1. Write your email as markdown in `src/pages`
2. Run `npm run build`
3. Paste the resulting HTML page from the browser to your email.
4. Express gratitude and thanks to the people in your life!

## Limitations ##

- Images will likely still have to be brought in manually, or linked from somewhere on the web. Getting them into the content of your email programmatically sucks.

## Todo ##

- upload images to s3 and change the img reference from local to s3-hosted

## Installation

To use this template, your computer needs [Node.js](https://nodejs.org/en/) 0.12 or greater. The template can be installed with the Foundation CLI, or downloaded and set up manually.

Run this:

```bash
npm install
```

## Build Commands

Run `npm start` to kick off the build process. A new browser tab will open with a server pointing to your project files.

Run `npm run build` to inline your CSS into your HTML along with the rest of the build process.
<commit_msg>Okay, let's type in English that makes sense<commit_after># Thank-you note HTML email generator #

If everyone you care about uses email, and you hope and hypothesize that more and more people are okay with receiving a thank-you note through email, and you think you could style an email better than the styles your email client provides, then this template project could be for you.

This project is based on [Foundation for Emails](http://foundation.zurb.com/emails), a framework for creating responsive HTML devices that work in any email client. It has a Gulp-powered build system with these features:

- Handlebars HTML templates with [Panini](http://github.com/zurb/panini)
- Simplified HTML email syntax with [Inky](http://github.com/zurb/inky)
- Sass compilation
- Image compression
- Built-in BrowserSync server
- Full email inlining process

The following are features I added

- Write in markdown, compile to HTML
- Supports Chinese and English emails

## Workflow ##

1. Write your email as markdown in `src/pages`
2. Run `npm run build`
3. Paste the resulting HTML page from the browser to your email.
4. Express gratitude and thanks to the people in your life!

## Limitations ##

- Images will likely still have to be brought in manually, or linked from somewhere on the web. Getting them into the content of your email programmatically sucks.

## Todo ##

- Programmatically upload images to s3 and change the img references from local to s3-hosted

## Installation

To use this template, your computer needs [Node.js](https://nodejs.org/en/) 0.12 or greater. The template can be installed with the Foundation CLI, or downloaded and set up manually.

Run this:

```bash
npm install
```

## Build Commands

Run `npm start` to kick off the build process. A new browser tab will open with a server pointing to your project files.

Run `npm run build` to inline your CSS into your HTML along with the rest of the build process.

{'fraction_non_alphanumeric': 0.06355140186915888, 'fraction_numerical': 0.004806408544726302, 'mean_word_length': 4.096598639455783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4680380', 'n_tokens_mistral': 998, 'n_tokens_neox': 959, 'n_words': 554}