CI / test (push) Failing after 3m23s
PUT /api/accounts/:id replaces an account's settings; the password is kept unless a new one is given. Accounts now have an updated_at, and the sync manager restarts a task whose account changed since it started — the task holds its own copy of the settings. Its status is reset to pending so the old error doesn't linger. Mail already synced stays when it's still the same mailbox (new password, renamed host); a genuinely different mailbox shows up as a UIDVALIDITY change on connect and re-syncs, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>