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