-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add email destruction support via Email/set destroy #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Implement permanent email deletion following the JMAP RFC 8621 specification: - Add `destroy` method to EmailService interface for permanent email removal - Add `destroyEmails` convenience operation in EmailOperations - Add unit tests for the new destroy method - Add functional tests for email deletion against real JMAP server The destroy operation permanently removes emails from the server, unlike the existing deleteEmails which moves emails to trash. https://claude.ai/code/session_01CGSojY6eQvSvpBWFMxtBcU
The spec tests already cover Email/set destroy functionality. Functional tests were unnecessary duplication. https://claude.ai/code/session_01CGSojY6eQvSvpBWFMxtBcU
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Add checklist for implementing JMAP methods: - Check capabilities.ts before starting - Search spec tests for existing coverage - Document testing structure (spec/unit/functional) - Note that create/update/destroy are /set parameters https://claude.ai/code/session_01CGSojY6eQvSvpBWFMxtBcU
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
- Create docs/implementing-jmap-methods.md with full checklist - Update AGENTS.md to reference the new guide - Document testing structure and common pitfalls https://claude.ai/code/session_01CGSojY6eQvSvpBWFMxtBcU
JMAP Spec Coverage
Overall: 15/31 methods (48.4%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (0/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Implement permanent email deletion following the JMAP RFC 8621 specification:
destroymethod to EmailService interface for permanent email removaldestroyEmailsconvenience operation in EmailOperationsThe destroy operation permanently removes emails from the server, unlike
the existing deleteEmails which moves emails to trash.
https://claude.ai/code/session_01CGSojY6eQvSvpBWFMxtBcU