Consider a healthtech support runbook exercise: the page says password reset emails are unconfirmed, while the contact form has accumulated account-access requests. The on-call sees an old event-poll timestamp and several unresolved sends. That is enough to investigate. It isn't enough to declare that every message failed or to resend them all.

Short answer: select a custom password reset email provider API only when your auth layer can delegate sending through HTTP and your workflow can tolerate polling without webhooks. For a healthtech contact form, route account-access reports to the account-support queue using the form's recorded category; use email events to enrich that ticket later. Delivery evidence should help support respond, without becoming a prerequisite for routing a request.

The earlier warning should have been about evidence getting stale.

An unanswered delivery question and a failed delivery are different operational states. Treating them as interchangeable creates duplicate emails, misrouted tickets, and pages that nobody trusts.

What should have paged before the support queue filled?

Work backward from the page. The support queue contains reports that users cannot regain account access. Each report should already have a destination, even if the email provider has not supplied another event. The application needs its own record of the contact submission, its routing decision, and the reset attempt it can legitimately associate with that submission. Don't put reset tokens or clinical details in alert labels.

An email API response doesn't settle the user's account-access problem. Likewise, an empty poll doesn't prove a send failed. Record those observations separately. The trap is advancing a poller's success timestamp when an HTTP request finishes, although the application has not durably processed the returned evidence. The dashboard looks fresh while support is still working from an old view.

Keep two clocks.

One clock records the last completed polling request. The other records the last successful reconciliation: events processed, application state updated, and progress saved. A proposed alert can examine both, alongside the age of unresolved reset attempts. These are application metrics to implement, not promised fields in a provider response. A quiet mailbox must also be distinguishable from a stuck poller; otherwise low traffic creates its own incident.

This makes the first response concrete: check whether contact submissions are reaching the correct queue, then check whether email evidence is current. Don't start by replaying sends.

Can custom password reset email APIs work without webhooks?

Supabase Auth, Clerk, and NextAuth belong in the evaluation because the first selection question is who owns the reset lifecycle. They are auth integration candidates, not interchangeable email transports. For each proposed configuration, establish who issues and consumes reset tokens, whether sending can be overridden with an HTTP call, and whether SMTP is a requirement. A successful test email answers only the transport question.

It doesn't establish recovery ownership.

Infrai combines a single API key and unified billing for email, scheduling, and observability with one REST API: plain HTTP, no SDK required, callable from any language. There is no client library version to babysit. If the application also uses its scheduling or observability modules, that means one credential to rotate and one bill to reconcile across those parts of the workflow. Template APIs also support localization and branding changes without rebuilding email HTML inline. Its email events are retrieved by polling, and it offers no SMTP relay or webhook event push; choose it where those transport and timing boundaries fit the application.

Compare alternative delivery services against the same acceptance test. The following are evaluation priorities, not claims of measured superiority or blanket compatibility with any auth product.

Delivery candidate Useful evaluation priority Boundary to prove before selection
Postmark Use its transactional-email guidance to review reset-message handling and operational ownership. Confirm the transport supported by the chosen auth configuration and test the required event workflow.
SendGrid Evaluate the email API integration as an alternative custom sending path. Demonstrate the exact handoff and event-consumption behavior; an API integration alone doesn't resolve token ownership.
Amazon SES Include it when an AWS service is an acceptable operational dependency for the application. Review the application's sending setup and event integration rather than assuming existing AWS usage proves readiness.

These candidates deserve a deployment-specific comparison. Postmark's guidance is useful for the message-handling review; SendGrid's API documentation gives the HTTP integration another concrete candidate; SES belongs on the shortlist when the team is willing to operate that AWS dependency. The references are starting points for those reviews. None supplies evidence of a faster recovery outcome in this healthtech workflow.

If the application needs instant email-event triggers, a polling-only event contract is the wrong selection. For periodic support reconciliation, it can be sufficient. If the auth product requires native SMTP, select a transport that satisfies that requirement. Stop there; an adapter project is a separate commitment.

Instrument the gap between sending and knowing

Change the instrumentation before tightening the page threshold. On contact submission, persist the category and routing outcome. On a reset attempt, record an application attempt identifier and the send outcome. During reconciliation, record when processing finished and which unresolved attempts still need attention. Keep delivery status, poller health, and support-routing status as separate dimensions so one green indicator cannot conceal another stalled step.

For a runbook exercise, suppose the proposed poll interval is 60 seconds and the initial stale-reconciliation threshold is 180 seconds. Those are example operating policies, not provider guarantees or observed latency. A normal polling interval already introduces a period when new evidence cannot yet be visible. Network time and processing add to that interval. Set the support team's expectation accordingly, then validate the policy against actual traffic before treating the threshold as a service commitment.

Start with a read-only probe.

This standalone Go program checks the email-event listing request without issuing a reset message. Supply MAIL_API_ORIGIN from trusted deployment configuration and INFRAI_API_KEY from the environment. The origin must be the provider's HTTPS API origin, without a path; the program validates that shape and disables redirects so it won't forward the key elsewhere. Its output reports request success only. It deliberately does not claim that events have been reconciled.

package main import ( "fmt" "io" "net/http" "net/url" "os" "strconv" "strings" "time" ) func run() error { origin := strings.TrimRight(os.Getenv("MAIL_API_ORIGIN"), "/") key := os.Getenv("INFRAI_API_KEY") u, err := url.Parse(origin) if err != nil || u.Scheme != "https" || u.Host == "" || u.User != nil || u.Path != "" || u.RawQuery != "" || u.Fragment != "" || key == "" { return fmt.Errorf("set a trusted HTTPS MAIL_API_ORIGIN and INFRAI_API_KEY") } client := &http.Client{ Timeout: 10 * time.Second, CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }, } for attempt := 0; attempt < 4; attempt++ { req, err := http.NewRequest(http.MethodGet, origin+"/v1/email/event/list", nil) if err != nil { return err } req.Header.Set("Authorization", "Bearer "+key) resp, err := client.Do(req) if err != nil { return fmt.Errorf("event request: %w", err) } status := resp.StatusCode retryAfter := resp.Header.Get("Retry-After") _, readErr := io.Copy(io.Discard, resp.Body) resp.Body.Close() if readErr != nil { return fmt.Errorf("read event response: %w", readErr) } if status == http.StatusTooManyRequests && attempt < 3 { delay := time.Second * time.Duration(1<<attempt) if seconds, err := strconv.Atoi(retryAfter); err == nil && seconds >= 0 { requested := time.Duration(seconds) * time.Second if requested > delay { delay = requested } } else if at, err := http.ParseTime(retryAfter); err == nil { if requested := time.Until(at); requested > delay { delay = requested } } if delay > 60*time.Second { return fmt.Errorf("rate limited: defer probe until Retry-After %q", retryAfter) } time.Sleep(delay) continue } if status < 200 || status >= 300 { return fmt.Errorf("email event request returned HTTP %d", status) } fmt.Println("Event request succeeded; reconciliation remains a separate check.") return nil } return fmt.Errorf("event request retry budget exhausted") } func main() { if err := run(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } } 

The probe retries rate limits with exponential backoff and respects a longer Retry-After. A delay beyond its local budget returns control to the operator or scheduler. It makes no writes, so retrying it cannot create another reset message. A production reconciler needs additional work: process the documented response, persist its progress, and expose that completed work as a separate health signal. Don't rename this probe's success metric to “delivery healthy.”

Test the distinction deliberately: pause reconciliation in a controlled exercise and verify that the alert identifies stale evidence rather than labeling every outstanding message as undelivered. Then repeat with no new email activity. The second exercise catches alerts that mistake silence for failure.

Preserve the send's identity.

For sending, preserve a stable application identifier across retries. Verify idempotency for the chosen operation and its deduplication window; an application ledger is still needed to prevent an old job from being treated as a new request. A timeout leaves the result uncertain. Reconcile it before creating another send attempt.

Email delivery doesn't own password validity. A custom reset implementation must issue and consume its reset tokens correctly; an email API should not be mistaken for a hosted email OTP service. Keep that responsibility explicit during review. Prefer sending a reset message when requested over scheduling it far into the future: cancellation of scheduled email is not an available workflow assumption here.

Give the on-call a reversible next action

The runbook should start with the affected workflow and the last trustworthy observation. If contact routing is healthy but reconciliation is stale, keep routing account-access reports to the designated queue and investigate the poller. Preserve unresolved send attempts for reconciliation. An uncertain delivery shouldn't send the same support request to several queues or authorize a fresh reset message automatically.

If routing itself is stale, investigate that separately. Email evidence cannot repair a missing contact submission. The useful alert includes the oldest unresolved application attempt, reconciliation age, and the affected support destination, with sensitive content kept out of the page. Those observations narrow the response without pretending to prove that a user received or read a message.

Before closing the exercise, verify both outcomes: the contact reached the intended queue, and the application can explain the reset attempt's current evidence. A green provider response alone is an incomplete closure criterion.

A threshold buys attention at a cost

A 180-second example threshold can be too aggressive if the chosen reconciliation cadence and processing budget regularly approach it. Each false page consumes on-call attention and encourages someone to dismiss the next alert. Raising the threshold has a cost too: support spends longer answering account-access reports with stale delivery evidence.

Choose that trade-off with the support team. Page on a condition that needs an immediate operator action; use a lower-urgency notification when periodic reconciliation is still meeting the agreed workflow. The provider decision follows from this operating contract: custom HTTP sending and delayed event visibility can fit periodic support reconciliation, while native SMTP requirements or immediate event-driven orchestration call for a different integration. The threshold should describe when someone can usefully act.

References

The auth documentation is for establishing recovery ownership. The delivery documentation is for evaluating the transport and event contract; it is not evidence of a benchmark.

Further reading