Skip to content

Email sending rate #416

@supun-io

Description

@supun-io

Saving Org-Level Data

  • When a newsletter is created, we have to add a row to a new local organizations table to save organization level data.
id, created_at, updated_at
organization_id
approval_status (same as current approval table's status)
max_emails_per_day int (default 100)
  • Migrate approval status here. We will keep the approval submissions in the approvals table
  • Command to create populate that table with the current organizations and approval data

Email Sending Rate

  • Currently, we have a minimal "Approval" section. Change, this to "Organization"
  • In this section, we show
    • Approval status, and a button to go to the approval for for submission if not requested yet
    • If approved,
      • Daily email sending rate. This is 100 by default. Users can contact support to increase this.
  • Update SendIssueMessageHandler to distribute emails based on the daily email sending rate of the organization of the newsletter.
  • Sudo
    • List organizations (/organizations )
    • View organization (/organizations/{id})
      • show basic data
      • Ability to update the sending limit

Metadata

Metadata

Assignees

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