converted to 3.0.0. My very own version of ch.elexis.global_inbox