GithubHelp home page GithubHelp logo

api-lambda-send-bulk-templated-email-ses's Introduction

Api Gateway -> Lambda (Send Bulk Templated Email) -> SES (Simple Email Service)

Description

This is a serverless component consisting of:

  • an Api Gateway, with a POST /send-bulk-template endpoint, that requires two parameters: emailGroups, and defaultTemplateData. It also accepts one optional paramter replyToEmails. The emailGroups parameter must be an array of objects, which represent the SES Email Destinations, as in the following structure:

    • toEmails, required, represents an array of email addresses to which you want to send the templated email to.
    • templateData, required, represents the data with which you want to replace your template placeholders.
    • ccEmails, optional, represents an array of email addresses to which you also want to send this templated email to.
  • a Lambda, that sends a Bulk Templated email to many grouped email addresses. It takes the TemplateName from the initial CloudFormation deployment, which must be a valid and existing SES Template. It also needs the FromEmail parameter from the initial CloudFormation deployment, the verified email used to specify the source from which the emails are sent.

If you're interested to read more about the specifics of the AWS SES send bulk templated email functionality, check out the AWS SES documentation example

It's a Nuts & Bolts application component for AWS Serverless Application Repository.

Deployment Parameters

This component has three CloudFormation deployment parameters:

  • FromEmail, a required parameter, representing the email sender. Must be a SES verified email.
  • TemplateName, a required parameter, representing the name of an existing and valid Email Template you want to use.
  • CorsOrigin, an optional parameter, where you can restrict access to only specified domains.

Latest Release - 1.0.0

Initial release.

Roadmap - Upcoming changes

Here are the upcoming changes that I'll add to this serverless component:

  • ESLint
  • Tests

api-lambda-send-bulk-templated-email-ses's People

Contributors

simalexan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.