Added in Pony to send email when there is an error on the server