fix(mail): No include PEAR library if not need it (refs #4961)