yaml->json, and send email on errors using exim