Skip to content

Create a rate limit interceptor for emails #24

Description

@microstudi
  • Accepts a ENV var with the maximum amount of emails to be sent as
    • ACTION_MAILER_MAX_EMAILS_PER_DAY
    • ACTION_MAILER_MAX_EMAILS_PER_MONTH
  • Log emails skipped as a warning
  • Generate and event where to subscribe to if an email has been skipped
  • Store quota in redis
  • Provide a custom model (for redis) for reading the current used quota

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions