user invites on-prem: Detect if server has emails configured
Created by: philipp-spiess
Part of https://github.com/sourcegraph/sourcegraph/issues/31214
We need a way to find out if SMTP/email sending is reasonably configured so that we can conditionally hide the invites features if that is the case.
Something simple like "any config for email is set" should suffice.