Skip to main content

A tool for editing, uploading and testing Amazon SES email templates

Project description


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: [-h] [-c CONFIG]
                                     {upload,test,preview} ...

positional arguments:
    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
    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

Config example

name = 'weekly-email'
html = "templates/weekly-email.hb2"
title = 'Your links weekly report'

name = 'confirmation-email'
html = "templates/confirmation-email.hb2"
title = 'Please verify your email'

footer = 'partials/footer.hb2'

from = ''
to = ['', ''
template = 'weekly-email'
        encodedEmail = ''
        id = 12345
        name = 'Test test'
            hostname = ''
            links = 50
            clicks = 50
            humanClicks = 50
            deviceName = "Desktop"
            score = 12345


Andrii Kostenko, Inc (

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for amazon-ses-template-editor, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size amazon_ses_template_editor-0.4.3-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size amazon-ses-template-editor-0.4.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page