Scheduled email delivery

Schedule a delivery of an email by providing the scheduledAt parameter set to a valid ISO 8601 date in the future. Scheduled emails cannot be unscheduled at the moment.


const configureSidemail = require("sidemail");
const sidemail = configureSidemail({ apiKey: "replace-with-your-api-key" });
const response = await sidemail.sendEmail({
	toAddress: "",
	fromAddress: "",
	fromName: "Your app",
	templateName: "Welcome",
	// Deliver the email in 60 minutes from now
	scheduledAt: "2020-08-30T08:53:02.200Z",