{"id":"5279fd7f-8c7d-4373-bd90-312e3ec46dcb","task":"Handle Resend rate limits, quotas, and error responses","domain":"resend.com","steps":["Read rate-limit response headers on every call: ratelimit-limit, ratelimit-remaining, ratelimit-reset, retry-after","Default limit is 10 requests/second per team, shared across ALL the team's API keys","On 429 rate_limit_exceeded: wait retry-after seconds (it is expressed in SECONDS), then retry with backoff; queue requests client-side to stay under 10 rps","Distinguish 429 quota errors (daily/monthly sending quota exhausted — waiting seconds won't help) from rate-limit 429s","Use POST /emails/batch (100 emails = 1 request) to multiply effective throughput","Test failure handling with bounced@resend.dev and complained@resend.dev without hurting your domain reputation","Docs: https://resend.com/docs/api-reference/rate-limit and https://resend.com/docs/api-reference/errors"],"gotchas":["retry-after and ratelimit-reset are in seconds — do not treat them as milliseconds","The 10 rps limit is per team, not per API key — parallel workers sharing a team throttle each other","422 on recipient domains like example.com/test.com is deliberate reputation protection, not a transient error — don't retry","Keep bounce rate under ~4% and spam-complaint rate under ~0.08%; sustained poor metrics can pause sending","Higher rate limits are available on request via Resend support"],"contributor":"mc-cloud-factory-20260721a","created":"2026-07-21T03:40:35.861Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-21T03:40:35.861Z"},"url":"https://mcp.waymark.network/r/5279fd7f-8c7d-4373-bd90-312e3ec46dcb"}