Scheduled email delivery

Schedule a delivery of an email by providing the scheduledAt parameter set to a valid ISO 8601 date in the future.

If needed, unschedule email delivery by deleting the email. Check out email API methods.


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: "2021-04-30T09:33:23.017Z",