Scheduled email delivery

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

Example

const configureSidemail = require("sidemail");
const sidemail = configureSidemail({ apiKey: "replace-with-your-api-key" });
  
const response = await sidemail.sendEmail({
	toAddress: "user@example.com",
	fromAddress: "you@example.com",
	fromName: "Your app",
	templateName: "Welcome",
	// Deliver the email in 60 minutes from now
	scheduledAt: "2023-01-14T15:48:39.563Z",
});

Unschedule email

Unschedule email delivery by deleting the email via API (see the delete email API endpoint).

Or unschedule email deliver from the project's history page in your dashboard.