Skip to content

feat(mail-bulk-actions): add delete-all endpoint to empty a mailbox - #88

Merged
LeiCraft merged 4 commits into
mainfrom
feat/empty-folder
Oct 15, 2026
Merged

LeiCraft merged 4 commits into
mainfrom
feat/empty-folder

Conversation

@bastigfz

@bastigfz bastigfz commented Oct 7, 2026

Copy link
Copy Markdown
Member

No description provided.

Adds POST .../mail-bulk-actions/delete-all, which does the same as
/delete but for every mail in the mailbox, not just a page. The UIDs are
sent as one min:max range so the command stays short.

Move/copy/delete in IMAPAccount now throw when imapflow returns
false/undefined instead of reporting success. Removing the old version of
a replaced draft is best-effort, so a failure there no longer makes the
client retry and append another copy.

Refs Delivr-Project/Delivr-Web#104
@bastigfz
bastigfz requested a review from a team October 7, 2026 14:12
@LeiCraft
LeiCraft merged commit e98aa78 into main Oct 15, 2026
1 check 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