removing akonadi-server and akonadi-kde and then reinstalling them along with kmail solved the problem for me.
removing akonadi-server and akonadi-kde and then reinstalling them along with kmail solved the problem for me.