catch rake exceptions and send by email