Skip to content

feat(cli): add re delete bulk-emails to bulk-delete emails by time range#446

Merged
joe-prosser merged 1 commit into
masterfrom
feat/delete-emails-bulk
Jun 1, 2026
Merged

feat(cli): add re delete bulk-emails to bulk-delete emails by time range#446
joe-prosser merged 1 commit into
masterfrom
feat/delete-emails-bulk

Conversation

@joe-prosser
Copy link
Copy Markdown
Collaborator

What

Adds a re delete bulk-emails command to delete emails from a bucket in bulk by time range:

re delete bulk-emails --bucket <bucket> [--from-timestamp T] [--to-timestamp T]

With no time range, it deletes every email in the bucket.

🤖 Generated with Claude Code

…range

Adds a `re delete bulk-emails --bucket <b> [--from-timestamp] [--to-timestamp]`
command, mirroring `re delete bulk` for comments. With no time range it deletes
every email in the bucket. Selection + batched delete-by-id live in a shared
`delete_emails_in_period` helper (analogous to `delete_comments_in_period`); the
no-filter path uses the listing endpoint, a filtered path uses the query endpoint.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@joe-prosser joe-prosser self-assigned this Jun 1, 2026
@joe-prosser joe-prosser merged commit 7785a46 into master Jun 1, 2026
9 of 10 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.

1 participant