scheduling email for record with certain criteria

scheduling email for record with certain criteria

So if I had a bunch of records with say 3 fields

Email address

Message to send

send email y or n

so say there are 100 records

I want to send the "message to send" to the "email address" once every 3 hours if the send email field says "y"

Could someone explain the logic please