I am trying to create a SLA that will email a list of all of the unassigned tickets to all agents. I am having difficulties writing code that will pull multiple ticket numbers and titles into one email.
The thought is to create a SLA that runs at the end of the day and sends an email regarding any tickets that has not been pickup by anyone.
SLAs, triggers and Schedules are started on each ticket separately. Thus, there is no easy way to create an email notification for aggregated unassigned tickets with the help of standard SLAs, triggers or Schedules.
I would recommend you to use Microsoft Flow to build this kind of notifications.