SD Card Reader not working on ESP32

I have given up.
It still didn't work with your code so I removed the email client software that wouldn't allow SdFat to work, added SdFat library, remove SD, FS and SPI and code changes an lo and behold it now works on all cards.
I will live with out the email client for now and perhaps think about it.
Thanks for all your suggestions.
Garry