Skip to content

Throttle bulk invite email dispatch#2088

Merged
DonKoko merged 2 commits intomainfrom
codex/improve-bulk-user-invitation-email-handling
Oct 3, 2025
Merged

Throttle bulk invite email dispatch#2088
DonKoko merged 2 commits intomainfrom
codex/improve-bulk-user-invitation-email-handling

Conversation

@DonKoko
Copy link
Copy Markdown
Contributor

@DonKoko DonKoko commented Oct 3, 2025

Summary

  • add throttled scheduling for invite email sending so we dispatch at most ~20 recipients per second
  • keep invite processing asynchronous to prevent user-facing delays while respecting Resend SMTP rate limits

Testing

  • npm run typecheck -- --pretty false

https://chatgpt.com/codex/tasks/task_b_68df992a8c0c8320bb6c7a29278cf7ca

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
shelf-docs Ignored Ignored Preview Oct 3, 2025 10:17am

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment thread app/modules/invite/service.server.ts
@DonKoko DonKoko merged commit 7fef29f into main Oct 3, 2025
6 checks passed
@DonKoko DonKoko linked an issue Oct 3, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: bulk inviting users fails sending emails

1 participant