I am trying to use @mailsend in a scheduled agent.
I am working accept for one problem...
The @mailsend is sending an email for each document. I only want it to send 1 email!
Basically I am using @elements and if the view contains more than 100 documents based on certain criteria a single email should be sent.
Currently if 48 documents match this criteria, 48 emails are sent.
How can I ensure that only 1 email is sent.