resend.listEmails returns recent email summaries.
automations/list-resend-emails.automation.ts
limit accepts 1–100 and defaults to 20. You can’t use the after and before email-ID cursors together. Optional second argument { account } selects the binding.
Returns { data, hasMore, object }. Each summary has id, sender, recipients, subject, createdAt, most recent event, nullable schedule time, and optional nullable provider message and topic IDs. For forward pagination, use the last returned ID as after. For backward pagination, use before according to Resend’s cursor semantics.