I've read several books on Gettysburg and several biographies of Lee and while there was some speculation on his health during the summer of 1863 not blamed his decision on the third day on a heart attack.
God knows what you were reading. “Lee for Dummies”, maybe.