Email lookup using custom function

Email lookup using custom function

Would it be possible to do the following using a custom function inside crm (or creator as we have both and linked) : 1) Schedule a function once a day that would look at all leads with a certain criteria 2) If fit this criteria, check the count of emails sent to us, by the lead Email address 3) If say for example, the lead has sent us one email, update a custom field labeled "lead responses" to 1? Trying to find a way for our agents to better check responses automatically without having to check each and every record daily looking for a response.