Kmail doesn't configure gmail any more

Hello there,

I was using kmail, but I got to reinstall the OS and plasma6 from Arch Linux, my /home still the previous one.
As I tried to fetch new emails from gmail, then gmail won’t keep online.

Probably the token from Oaut2 is lost. So, to solve the issue, I delete the all account and tried to remake it, but then it won’t pick up automatic setting as done previously when it was installed in plasma5. Also it doesn’t create any account, where I may further edit the account settings.

I have also an outlook account and I recently activated the Oaut2, then that is working.

I’ll appreciate if I’ll get fixed for plasma6.