Active Roles Synchronization workflow reports - created objects


I have a Active Roles sync job that creates AD accounts in the workflow. I know there is a way to send a step handler to send email notification on the completion of the step. I need to be able to generate a report of all the accounts created in the workflow and send notification. Has anyone done this? Also if anyone can tell me where the Workflow history SQL table is I can maybe build a report from SQL. 

Thank you,