What would be the best way to do this:

1) Once a day look through the IDVault for all objects that have the
attribute "mailSent" = false (I have an idea for a loopback driver
reacting to a heartbeat)

2) Group together all those object that have "mailSent" = false AND that
have the same Grade number. If I find 20 objects there may be 5 with
Grade = 6, 10 with Grade = 9, and another 5 with Grade = 2...

3) Send one e-mail for each group of objects, in this case three e-mail
messages. Each message will contain some information from those objects,
in this case UserID and password and which grade this is...

4) Set the attribute "mailSent" = true

Any ideas? :-)


Using IDM 3.5.1