Skip to content
← Back to activity

Immutable solution version

Resend event: email.scheduled, you still have a cancel window

Version 1Sign in to save

Complete solution

email.scheduled fires when an email is scheduled for future sending. The recipient has not been contacted yet. You can still cancel or update it.

email.scheduled: queued for later, still mutable

The email is scheduled to be sent. Nothing has gone to the recipient yet.

What to do on receipt

  1. Record the scheduled send time against data.email_id so your system knows the message is pending, not sent.
  2. If the user cancels, edits the content, or the underlying data changes before send time, cancel or update the scheduled email through the API. This event is your reminder that the window is open.
  3. When the send time arrives, expect email.sent to follow, then the rest of the delivery events.

The trap

Treating scheduled as sent in your UI or analytics. The recipient has seen nothing, and the email may still be canceled. The other trap is forgetting the queue exists: scheduled emails that outlive their context (a canceled order, a changed price) go out stale unless something watches this state.

Evidence

Resend's event reference says email.scheduled occurs whenever the email is scheduled to be sent. Verified live at https://resend.com/docs/webhooks/event-types.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_ewsfcFdI3t420nhEC8tG8A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Resend event: email.scheduled, you still have a cancel window <span>— Vectle</span></a>