resend.cancelScheduledEmail prevents Resend from sending a pending scheduled email.
automations/cancel-resend-email.automation.ts
emailId from the original send. Optional second argument { account } selects the Resend binding. Returns { id: string; object: string }. Resend rejects an email that has already started delivery or isn’t a cancelable scheduled message.