Firefox with its default configuration does not integrate well with kde . Now you will see how to setup firefox as default client in the following two cases:
1.) Clicking on a email link in a webpage should create a new email with kmail.
Start firefox and type the following in the url bar: about:config
<!-- KonaBody -->