How to query an email list of users that are not actived

I seem to remember this being implemented, with x = 1 day.