Skip to content

Add audited administrator retry for eligible failed mail deliveries #30

Open

Description

@LunaStev

Motivation

The mail queue is read-only in the administrator interface. A corrected delivery problem cannot be retried through an authorized platform control.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Define an atomic eligibility transition for retryable terminal deliveries, rejecting already-delivered and currently leased work.
  • Require owner/admin API authorization and same-origin protection; do not trust only the route guard.
  • Provide an explicit confirmation explaining duplicate-send risk and record actor, delivery, previous state and result in audit history.
  • Test concurrent retry requests, unauthorized actors, active worker races and storage failures with a fake sender.

Scope and dependencies

Difficulty: high.

Depends on #13 and #26. SMTP cannot provide an unconditional exactly-once guarantee; no automatic bulk resend.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    enhancement
    help wanted
    administration
    priority medium
    needs testing
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    administrationenhancementhelp wantedneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions