adding email notification for donation log write failures