[KMail] Improve account management
Open, NormalPublic

Description

One of the major complaints in the KMail User Survey was about the complexity of account management in KMail. The current workflow when adding a new account is:

  1. add a new email account (let's say IMAP)
  2. add an outgoing account
  3. add an identity
  4. wait for folders to sync from IMAP
  5. re-open the configuration of the email account, select Trash folder and default identity to use
  6. re-open the identity configuration and setup Sent, Drafts etc. folders

(that's the optimal workflow. If you swap steps 2) and 3) you will also have to go back to identity management after setting up the outgoing account to set it in the identity). This process involves going through three different configuration screens, several tabs, and multiple dialogs with more nested tabs - all in all, tons of pointless clicking around. And that's only if you are a seasoned KMail user and you know what to actually look for and where. Newcomers will get overwhelmed, completely lost and will go back to Gmail....

The Account Wizard streamlines this a lot, but not enough (e.g. it does not let you set up the Trash, Sent or Drafts folders). We should take a look at what Thunderbird and Evolution does and draw some inspiration from there. We should also take a good look at K9 Mail (an opensource email client for Android), which also has separate incoming and outgoing accounts and identities like KMail, yet they still manage to have a simple straight-forward wizard when adding a new account that handles all the setup in several simple steps.

I certainly want to keep the incoming, outgoing and identities concepts, but we need to reconsider how we present those to the user:

  • we should consider merging them in Settings into the "Accounts" tab, so that everything related to accounts is in one place
  • Clicking "Add" in the "Incoming" account tab should start the Account Wizard to guide user through the full setup

Some more actionables regarding the Account Wizard:

  • It should allow user to choose an identity to use for the account and offer a simple way to create a new identity if user wants to
  • It should allow user to choose an outgoing account as well and offer a simple way to create a new one if user wants to
  • In case of IMAP/Kolab, once the resource is set up and folders synced, it should automatically detect and set up Sent. Drafts and Trash folders

T632 is also a somewhat relevant subtask for this task.

We can probably talk to Bjoern on the CM, he already proposed the overhaul last year and had some ideas how to improve it.

dvratil created this task.Oct 6 2017, 10:40 AM

Hello, I'm rather new to KDE and can only agree.

The "Accounts" tab in the Settings would probably be a great place to manage accounts from (such settings can be shared among many applications).
Plus, there is a lack of verbosity when connectivity issues occur. In my efforts to set up my kubuntu station, had to launch akonadi (the existence of which I had to discover) from the terminal to try and guess on my own the reasons for my issues when setting up my mail accounts - I should have had error messages popping up indicating that there is an issue and the reason for it.

One promising thing about KMail, which could be better, is the identity concept... however I'm not really sure about what the intent is.

  • What sort of cardinality should exist between an account and an identity ?
  • Why am I free to enter a sender email address instead of picking it from a drop-down menu (that would show identity + account I suppose)

Food for thought, happy to reflect further on this.

hrw added a subscriber: hrw.Jul 22 2021, 9:07 AM

I gave a try for KMail yesterday on Debian bullseye system.

Three accounts to add:

  • private IMAP/SMTP
  • work Gmail
  • another work Gmail

Ok, let start with adding account. All 3 went fine, Gmail ones asked for OAuth stuff. Mails started fetching.

I replied to an email from private account and it failed to send due to lack of SMTP credentials. For some reasons it tried to use 2nd Gmail account. After minutes with web search I found that SMTP server is now set as part of identity... And then mail was stored somewhere on local storage only as I had to setup sent/drafts/etc folder per identity.

Debian packages lack OAuth SMTP support so none of my work Gmail accounts are able to send email. Maybe it was fixed upstream.

I uninstalled KMail. Will give it a shot in another year probably (I do check once per year is it usable again).

New email account wizard should configure incoming mail, outgoing mail and create identity which would use both with proper folders set. So then account's identity could be copied and altered instead of configuring everything.