Assuming you add error handling, you appear to have gotten it right. You might want to tack the venue id onto the CSV file name so that you can save a copy of each file (for auditing, or bounces, or if the email system is down, etc).
JPLemme
2008-10-17 03:41:37