Simple Email Service
Create a HTML or a plain text email template. See the docs
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Send an email using Amazon SES. Supports simple email messaging. See the docs
Send an email replacing the template tags with values using Amazon SES. See the docs
With Amazon SES, you can easily send email from your applications. Amazon SES
eliminates the complexity and headaches of managing outgoing email
infrastructure by providing a scalable, pay-as-you-go email sending service.
Amazon SES makes it easy to get started sending email from your applications,
with no upfront costs or long-term commitments.
Here are some examples of what you can build with the Amazon SES API:
module.exports = defineComponent({
props: {
amazon_ses: {
type: "app",
app: "amazon_ses",
}
},
async run({steps, $}) {
const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
const ses = new AWS.SES({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
const sesParams = {
Destination: {
ToAddresses: ["<your email here>"],
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
Data: "<h1>This is a test</h1>",
},
Text: {
Charset: "UTF-8",
Data: "This is a test",
}
},
Subject: {
Charset: "UTF-8",
Data: "Test email",
}
},
Source: "<your from address here",
};
this.resp = await ses.sendEmail(sesParams).promise()
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})