We have a list of items, each item represent to a person and his leave details.
The thing is that, we need to trigger a mail at some point of the day with the list of all employees, who is on leave today.
I am aware of how mail sending is working, but not sure how getting all the employees data from the list who is on leave today.
Can someone help me in it?