Skip to content

feat(email-queue): operator ceiling EMAIL_QUEUE_MAX_PER_24H for non-Google senders - #185

Merged
ralyodio merged 1 commit into
mainfrom
feat/email-queue-operator-ceiling
Nov 11, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/email-queue-operator-ceiling

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

The built-in 1,000/24h cap held a 5,000-person opt-in list to five days per issue, and per-call overrides could only lower it, so --max-per-day 6000 did nothing. The tuiweekly-2026-10-29 and -10-30 issues have sat in sending since Oct 29/30.

  • New operatorDailyCeiling() reads EMAIL_QUEUE_MAX_PER_24H from the process env and raises the daily limit for non-Google senders.
  • Gmail stays at 100, since Google enforces that itself.
  • Per-call overrides still only lower the limit.
  • The 1,000 default is unchanged when the env var is unset, so other apps on the package are unaffected.

Tests: email-queue 38/38 (1 new).

🤖 Generated with Claude Code

…oogle senders

The 1,000/24h built-in cap held a 5,000-person opt-in list to five days per
issue, and per-call overrides could only lower it. An operator whose provider
account carries more (Resend) now raises the ceiling in the process env.
Gmail stays at 100 (Google enforces it); per-call overrides still only lower.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ralyodio
ralyodio merged commit ef67a03 into main Nov 11, 2026
2 checks passed
@ralyodio
ralyodio deleted the feat/email-queue-operator-ceiling branch November 11, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant