log email error