Not really part of the solution, but does the console spit out anything useful when you run Kontact with the GMail resource enabled?
To make Kontact start working again, you should remove the GMail resource. You can do this from the KDE Configuration Center, going to KDE Components->KDE Resources.