https://github.com/xop/email-composer
https://github.com/xop/email-composer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xop/email-composer
- Owner: XOP
- Created: 2015-08-09T16:13:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T12:17:41.000Z (over 9 years ago)
- Last Synced: 2025-01-07T01:52:39.282Z (6 months ago)
- Language: JavaScript
- Size: 2.72 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email Composer
Automated process for building and testing emails.
**WARNING**
**This should be refactored in order to work with the newest Assemble API**
**Or better drop Assemble due to it's unstable nature completely**
**And use another gulp handlebars compilation**## Installation
```
# npm dependencies
npm i
```## Launch and development
```
# render emails
gulp build# development
gulp
```### Templates and data
Due to [assemble](http://assemble.io/) usage, data organized and stored respectfully.
Consider the following structure:```
templates
foo.hbs
bar.hbs
```Data should be presented as:
```
data
foo
data.json
bar
data.json
```## Sending platform
Composer uses [Mailgun](https://mailgun.com/app/dashboard) API to send emails,
so it will need private data, contained in **secret.json**, located in root folder.