Fix email log