Fan-out

Fan-out is the process of taking one event (a campaign send) and dispatching it as many individual operations (one email per recipient). In email infrastructure, fan-out is typically done asynchronously by a background worker to avoid blocking the main application while thousands of API calls are in flight.

b

In BroadcastMail

The BroadcastMail worker fans out each campaign by reading the recipient list and making one Resend API call per address. Progress is tracked per recipient so partial failures can be identified without resending the whole campaign.

RelatedOutbox Pattern