Apple Mail and disappearing SMTP settings
A few days ago, my Gmail started playing up within Apple Mail having worked for months. No changes to my Mac, no updates, no changes to Gmail and no breaches either. Despite not changing anything, it suddenly wouldn't send emails from my Gmail account. So I played with the Gmail settings within Mail's prefs and changed the smtp settings but it would then keep going offline. The only way to change this was to delete the Gmail smtp account within Mail and then replace it, which I did.
So the next issue was that while it saved my Gmail smtp settings, it didn't save the correct settings, so again this meant I couldn't send emails from that account. No problems with any others. So I then again tried changing the smtp settings within Prefs to update to the correct settings, but clicking off within prefs meant that the settings weren't saved. If I immediately sent an email, the settings saved but next day, it had defaulted to the wrong settings.
Today the latest error is that when saving the smtp settings in edit smtp within Mail's prefs, it immediately loses the settings - they aren't saved at all but simply disappear! Is there anything I can do instead of re-installing the whole Gmail account across iCloud?
Thanks for any advice!
iMac, macOS Sierra (10.12.6), 3.5 GHz Intel Core i7, 8GB DDR, 27"