Nested a loop in the mailer to grab the details of new image orders