Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a rate limit on the number of emails we can send from the App per user account and make it configurable #1930

Open
vipulnsward opened this issue Nov 4, 2024 · 1 comment · May be fixed by #1933
Assignees
Labels

Comments

@vipulnsward
Copy link
Contributor

Is your proposal related to a problem?

Describe the solution you'd like

Describe alternatives you've considered

@gowsik-ragunath gowsik-ragunath self-assigned this Nov 8, 2024
@gowsik-ragunath
Copy link
Contributor

gowsik-ragunath commented Nov 8, 2024

@vipulnsward In Miru, We have a super admin account with access to the administrator dashboard, where we can create a rate limiter page and set the number of emails that can be sent from an user account within a specific timeframe.

We can implement this rate limit check at the mailer level, as it will make it easier to log sent emails and manage the limits.

This email rate limiter will apply only to emails triggered by users and not to automated emails sent by our system.

Questions:

  • What time interval should we set for resetting the email rate limit? per hour or per minute?
  • What should be the default number of emails allowed within this timeframe?

@gowsik-ragunath gowsik-ragunath linked a pull request Nov 19, 2024 that will close this issue
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 a pull request may close this issue.

2 participants