-- Fix: MailSyncQueue inherits TenantMixin which includes SoftDeleteMixin (deleted_at)
-- Migration 0007 did not include this column, causing process_sync_queue to crash
ALTER TABLE mail_sync_queue ADD COLUMN IF NOT EXISTS deleted_at TIMESTAMPTZ;
