MEYL is a developer-first and accessibility-first email generator app. I write this app to create, edit, test, and manage all emails using a template engine. You can use it for generating single emails or you can create reusable email templates for Mandrill, SendGrid, Zapier, etc.
You can also edit text-based email content for the visual-impaired humans or OCR users, but if you forget that somehow, MEYL will auto-generate it for you.
```
meyl new email-templates
meyl generate --source=email-templates/src/ \ --destination=email-templates/dst/
meyl send --template=email-templates/dst/wedding-invitation/ \ --email="john.doe@localhost" ```
All templates should have:
You don't need to create also a body_text.html but in case, MEYL will auto-generate it for making your emails more accessible for all human being.
email-templates
|
|- dst Destination Template Folder
| |- payroll Template Name: Payroll
| | |- body.html Email Content
| | |- body_text.html Email Content (in Text Format)
| | |- subject.html Subject
| |
| |- wedding-invitation Template Name: Wedding Invitation
| | |- body.html Email Content
| | |- body_text.html Email Content in Text Format
| | |- subject.html Subject
|
|- src Source Template Folder
| |- base.html Base Template
| |- style.css Styles
| |- partials Template Partials
| | |- button.html
| | |- title.html
| |- payroll
| | |- body.html
| | |- subject.html
| |- wedding-information
| | |- body.html
| | |- body_text.html
| | |- subject.html
|