mail_on_failure:use maxsplit=1 instead of magic number