How prevent sending past-dated emails to late entries in a campaign?

In Mautic 5 or 6, how do you prevent an email (with a past date) from being sent to new contacts who join a campaign?

In Mautic 4, this problem was easily solved by setting an unpublish date for the email, but this option no longer exists in versions 5 and 6.

@sandrovenezuela was the function removed? I didn’t even notice.

Something else you can do is create a custom field called campaign-xy-entry with type date. In the campaign, as first action, you set your custom field to “now” without “”. Before sending the email you add a condition campaign-xy-entry is before [date-last-send] and route all following mails. This way you can skip whole blocks of emails. But the approach won’t work, if the contact is already inside the campaign.