So turns out this was correct, if anyone was wondering. I was just looking at this because I was trying to send myself a test email…
seen_recently = (user.last_seen_at.present? && user.last_seen_at > SiteSetting.email_time_window_mins.minutes.ago)
So if your “last seen at” time is greater than the email time window mins setting, the email will be skipped.