Runs a list of queries on a list of databases and mails the results