mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-08 16:02:10 +08:00
feat: add SEND_MAIL delivery and quota controls (#986)
* feat: add SEND_MAIL delivery and quota controls * test: cover -1 unlimited runtime for send mail quota Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: split send limit validation and save * refactor: move send limit counters to settings * fix: polish send mail limit review follow-ups * docs: note SEND_MAIL breaking change * test: align send mail limit e2e with new messages * fix: address review follow-ups * fix: harden admin send mail handlers --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -26,4 +26,6 @@ export const CONSTANTS = {
|
||||
WEBHOOK_KV_USER_SETTINGS_KEY: "temp-mail-webhook-user-settings",
|
||||
EMAIL_KV_BLACK_LIST: "temp-mail-email-black-list",
|
||||
WEBHOOK_KV_ADMIN_MAIL_SETTINGS_KEY: "temp-mail-webhook-admin-mail-settings",
|
||||
SEND_MAIL_LIMIT_COUNT_KEY_PREFIX: "send_mail_limit_count:",
|
||||
SEND_MAIL_LIMIT_CONFIG_KEY: "send_mail_limit_config",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user