[checkmk-commits] [tribe29/checkmk] dd7fa6: check_mail_loop: split off common functionality