Skip to content

feat: admin can delete a user's mailbox from email search - #2873

Merged
cquintana92 merged 1 commit into
simple-login:masterfrom
acasajus:feat/admin-delete-mailbox
Nov 6, 2026
Merged

cquintana92 merged 1 commit into
simple-login:masterfrom
acasajus:feat/admin-delete-mailbox

Conversation

@acasajus

@acasajus acasajus commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Adds an admin Delete action to the Email Search mailbox list, confirmed by typing the mailbox email. Reuses mailbox_utils.delete_mailbox and the DELETE_MAILBOX job. Aliases move to the default mailbox (or a new default if the default is deleted); pending-deletion mailboxes are excluded as targets; audit-logged, no user email. Delete-mailbox and email-search admin tests pass; full suite, black and ty not re-run.

🤖 Generated with Claude Code

Adds a Delete action with typed-email confirmation that queues the existing
DELETE_MAILBOX job, moving aliases to the default mailbox, guarding against
mailboxes with pending deletions, and recording an audit log entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@acasajus
acasajus force-pushed the feat/admin-delete-mailbox branch from 65e563d to 0b08c4f Compare November 5, 2026 16:39
@cquintana92
cquintana92 merged commit 21058d4 into simple-login:master Nov 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants