Email error notification if something goes wrong.