A CLI based mailer, leveraging the power of Amazon SES.
Created by Alexa Developers SRM.
Install dependencies and build the server
$ yarn && yarn build
Start the server
$ yarn start
Alexa Mailer
is available under the MIT license. See the LICENSE file for more info.
Please read Contributing.md
for details on our code of conduct, and the process for submitting pull requests to us.
The product is build by the following member(s):
The CLI uses a default collection named alexa-mail
. If you wish to change it, set the appropiate name as the evironment variable.
Each document must confirm to the following structure
{
"name":"list-name",
"users":[
{
"email": "[email protected]
// Any other properties can follow
},
{
"email": "[email protected]
// Any other properties can follow
// So on...
}
]
}
You can add any number of properties that you want to use in your dynamic email content.
This product uses dot.js
to template the email content. You can use string interpolation as
{{=it.property1}}
{{=it.property2}}
// So on...
You can use such properties anywhere in the email content, for both HTML and text files. These properties come from the object array defined in the document in use.
Check example.html
and example.txt
to learn more.