Skip to main content

Amazon SES Component

Send Emails through Amazon (AWS) SES

Component key: aws-ses

Description#

Amazon SES is a service that enables developers to send mail from within any application. The Amazon SES component allows you to list identities, and send emails to those identities.

You must validate email addresses or domains

Before you can send an email using Amazon SES, you must verify that you are the owner of the email address or domain that you want to send email from. You can do that from the SES admin page on the AWS console.

Amazon SES Connections#

AWS SES Access Key and Secret#

An AWS IAM access key pair is required to interact with Amazon SES. Make sure that the key pair you generate in AWS has proper permissions to the SES resources you want to access. Read about Amazon SES IAM policies in the AWS docs.

InputNotesExample
Input
Access Key ID
string
/ Required
accessKeyId
Notes
An AWS IAM Access Key ID
Example
AKIAIOSFODNN7EXAMPLE
Input
Secret Access Key
password
/ Required
secretAccessKey
Notes
An AWS IAM Secret Access Key
Example
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Actions#

List Identities#

List Identities available in Amazon SES | key: listIdentities

InputDefaultNotesExample
Input
Connection
connection
/ Required
awsConnection
Default
 
Notes
 
Example
 
Input
AWS Region
string
/ Required
awsRegion
Default
us-east-1
Notes
AWS provides services in multiple regions, like us-west-2 or eu-east-1. AWS region indicates the region in which your Identities are stored.
Example
us-east-1
Input
Identity Type
string
/ Required
identityType
Default
EmailAddress
Notes
Provide the type of identity you want to list.
Example
 
Input
Next Token
string
nextToken
Default
Notes
Specify the pagination token that's returned by a previous request to retrieve the next page of results
Example
lslTXFcbLQKkb0vP9Kgh5hy0Y0OnC7Z9ZPHPwPmMnxSk3eiDRMkct7D8E

Output Example Payload#

{  "data": {    "$metadata": {      "httpStatusCode": 200,      "requestId": "4d41a619-b699-444b-9b09-7edbb92fc867",      "attempts": 1,      "totalRetryDelay": 0    },    "Identities": [      "example@example.com"    ],    "NextToken": "exampleToken"  }}

Send Email#

Send an email through Amazon SES | key: sendEmail

InputDefaultNotesExample
Input
Attachments
string
Key Value List
attachments
Default
Notes
Specify a file name as the key (i.e. 'my-file.pdf'), and the file as the value
Example
 
Input
Connection
connection
/ Required
awsConnection
Default
 
Notes
 
Example
 
Input
AWS Region
string
/ Required
awsRegion
Default
us-east-1
Notes
AWS provides services in multiple regions, like us-west-2 or eu-east-1. AWS region indicates the region in which your Identities are stored.
Example
us-east-1
Input
Bcc Address
string
Value List
bcc
Default
Notes
The destination for this email. The recipients to place on the BCC: line of the message.
Example
example@example.com
Input
Cc Address
string
Value List
cc
Default
Notes
The destination for this email. The recipients to place on the CC: line of the message.
Example
example@example.com
Input
Html
string
html
Default
Notes
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
Example
<p>Hello World!</p>
Input
Reply To
string
Value List
replyTo
Default
Notes
The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
Example
example@example.com
Input
Sender Email
string
/ Required
sender
Default
Notes
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
Example
example@example.com
Input
Subject
string
/ Required
subject
Default
Notes
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
Example
My Email Subject
Input
Text
string
/ Required
text
Default
Notes
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
Example
Hello World!
Input
To Address
string
/ Required
Value List
to
Default
Notes
The destination for this email. The recipients to place on the To: line of the message.
Example
example@example.com

Output Example Payload#

{  "data": {    "$metadata": {      "httpStatusCode": 200,      "requestId": "00000000-0000-0000-0000-000000000000",      "attempts": 1,      "totalRetryDelay": 0    },    "MessageId": "0000000000000000-00000000-0000-0000-0000-000000000000-000000"  }}