Firefox Accounts Mailer
Library to send out verification emails in the fxa-auth-server which renders emails from a template (and handles localization).
The emails are written to postfix which tends sends them off to SES.
The auth-mailer also includes a restify API to send emails, but the auth server is using it as a library at the moment.
- node 4
- npm 2
If you are changing or adding templates then you need to update
/partials directory to make changes to the HTML templates, then run
grunt templates to regenerate the template.
This saves the HTML template into
/templates. Then make changes to the
.txt template in the
After updating a string in one of the templates in
./templates you'll need to extract the strings using this script:
extract_strings.sh [--mailer-repo ./fxa-auth-mailer] [--content-repo ./fxa-content-server] [--l10n-repo ./fxa-content-server-l10n] train_number
FXA_L10N_SHA to pin L10N files to certain SHA. If not set then the
master SHA will be used.