Create a record set and grab the $total_rowsRecocrdset var.
When the page loads it will run the queary
Use the "email from Recordset" in ADDT to send your message.
I can be more detailed...let me know where you are stuck...the query, the email. or you don't have ADDT