Input email address first. eg [email protected]
From email addres do DNS lookup to catch SRV records to get the JMAP URL.
Use this to pre-configure the JMAP URL
If no SRV record is found, prompt for the JMAP URL
EG
_jmap._tcp.linagora.com    SRV     10800    0 1 443 jmap.linagora.com