5ded6f7d0b
- imap_sync_folder now checks message_id in addition to (folder_id, imap_uid) - If mail was moved to Trash by IMAP server (new UID, same message_id), it is recognized - Soft-deleted mails with matching message_id are skipped, not re-created - Prevents deleted mails from reappearing when IMAP server moves them to Trash