when user add a new email account that not are provided by a big vendor should inseret imap and smtp servers by hand… but there are e way described by some RFCs to guess sever address,
please consider to discover via SRV records begin with:
this is not the point; ISP (like me) starting use xml file for autoconfig thunderbird (not standard), but already now Outlook app read SRV record (see my test attached where I insert only email and password to configure account)
app should starting read SRV as described in RFC and ISP they will have a chance to do their part
I have proposed it back in '17 with some (very rough) estimates of percentage of domains using various autoconfiguration methods (~20% of domains hardcoded at the time in sailfish email client had some kind of autoconf, for SRV method it was ~11%) on TJC: https://together.jolla.com/question/172436/mail-client-autoconfiguration/
It would make great user experience, ease the burden of (ultimately futile) maintaining of hardcoded providers list, and be Just The Right Thing.