Yeah well that's IMAP-compliant. IDs can change between sessions, that's always been part of that terrible standard.