One thing that hasn't been brought-up yet is this: Make sure the outlet isn't "back stabbed". I'm not an electrician, but I've worked with, and know, enough of them to have heard numerous horror stories about "back stabbed" outlets that have overheated and/or started fires.
View attachment 1716274001
I'm on my 3rd house, and in every one of them, one of the first things I've done is replace all of the outlets, and check all of the switches.