This whole blog series is great, and I'd recommend it, but this particular post is the one responsive to the mortgage and retirement part:
https://earlyretirementnow.com/2017/10/11/the-ultimate-guide...