What is happening
Apple recommends rebuilding when messages appear missing or garbled and supports importing Apple Mail or MBOX exports. Those steps assume the underlying source is sufficiently intact, so acquisition comes before repair when disk damage or local-only mail is suspected.