We need to define expected features, required IMAP extensions, imap library to do that best.
https://phabricator.kde.org/T1825