mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-24 00:01:14 +00:00
Implement comprehensive spam management allowing users to report spam emails and restore false positives. Emails are moved to/from the Junk folder with toast notifications and undo support. Key features: - Mark as spam: moves email to Junk folder with 5-second undo - Mark as not spam: restores email from Junk to inbox - Batch spam operations via context menu - Smart toggle based on current folder (Junk vs other folders) - Keyboard shortcut (Shift+!) for quick spam reporting - Full i18n support (EN/FR) - Shared mailbox compatibility UX improvements: - Toast notifications with undo action using sonner library - Auto-deselect email after spam action - Visual distinction with red destructive styling - Desktop button + context menu + keyboard shortcuts Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>