Instead of using ImapStoreSettings as a ServerSettings subclass make it a helper to extract IMAP-specific settings.