I would like to add a PDF to an email I'm sending using Courier. I've set up my account to use Amazon SES as my email provider. I'm using the Courier Node.js SDK to send the message:
const courier = CourierClient();
const { messageId } = await courier.send({
eventId: "MONTHLY_BILLING",
recipientId: "81462728-70d2-4d71-ab44-9d627913f1dd",
data: {
"tennant_id": "W5793",
"tennant_name": "Oscorp, Inc.",
"billing_date": {
"month": "November",
"year": "2020"
},
"amount": 99.0
}
});
How can I also include the invoice as a PDF?