Skip to main content
cancelScheduledEmail prevents a pending scheduled email from being sent.
automations/cancel-resend-email.automation.ts
Required emailId comes from the original send. Optional account selects the Resend binding. Returns { id: string; object: string }. Resend rejects an email that has already started delivery or is not a cancelable scheduled message.