
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
amazon-ses-template-editor
Advanced tools
Console command to edit, test and upload amazon SES templates
Currently AWS SES has API endpoint to create email templates with handlebars syntax and API endpoint to send emails with template name and a dictionary with template variables. But it does not provide any UI to create and edit templates. This script allows you to manage your email templates from command line
pip install amazon-ses-template-editor
usage: amazon-ses-template-editor.py [-h] [-c CONFIG]
{upload,test,preview} ...
positional arguments:
{upload,test,preview}
upload Uploads templates from configuration file to SES using
your system credentials
upload_test Uploads templates for testing purposes
test Sends emails to your email address so you can test
layout
preview Starts minimal http server for email template testing
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Path to configuration file, default ./config.toml
usage: amazon-ses-template-editor.py upload [-h] [-t TEMPLATE]
optional arguments:
-h, --help show this help message and exit
-t TEMPLATE, --template TEMPLATE
Uploads only one template with given name
usage: amazon-ses-template-editor.py upload_test [-h] [-t TEMPLATE]
optional arguments:
-h, --help show this help message and exit
-t TEMPLATE, --template TEMPLATE
Uploads only one template with given name
usage: amazon-ses-template-editor.py test [-h] [-t TEMPLATE]
optional arguments:
-h, --help show this help message and exit
-t TEMPLATE, --template TEMPLATE
Uploads only one template with given name
[[templates]]
name = 'weekly-email'
html = "templates/weekly-email.hb2"
title = 'Your links weekly report'
[[templates]]
name = 'confirmation-email'
html = "templates/confirmation-email.hb2"
title = 'Please verify your email'
[partials]
footer = 'partials/footer.hb2'
[tests]
from = 'andrii@short.cm'
to = ['andrey@kostenko.name', 'someone_else@short.cm']
[[test]]
template = 'weekly-email'
[test.data]
encodedEmail = 'andrey@kostenko.name'
[test.data.user]
id = 12345
name = 'Test test'
[[test.data.domains]]
[test.data.domains.domain]
hostname = 'test.com'
[test.data.domains.stats]
links = 50
clicks = 50
humanClicks = 50
[[test.data.domains.stats.device]]
deviceName = "Desktop"
score = 12345
Andrii Kostenko, Short.cm Inc (https://short.cm)
FAQs
A tool for editing, uploading and testing Amazon SES email templates
We found that amazon-ses-template-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.