The "discovering settings" message means it's doing a DNS MX lookup on your email address' domain, to try and offer the right server settings.
Supposed to be limited to five seconds, if you have a reproducible scenario I'd be happy to try and investigate.