Modified first email log condition