Mail replication only if fails

When will the mail function be available in replication tasks only if they fail or find an error?