You could try something like this in a function node:
let minutes = 50; // email can't be older than 50 minutes
let age = (new Date() - new Date(msg.date)) / (1000 * 60); // age in minutes
// only return if it's not too old
if(age < minutes){
return msg;
}