You're right about my code only sending the last record pbaldy, I had stripped down my data for testing so hadn't realised. I've made changes to get this bit right now.
I'm still at a loss with sending one email per person with all of the query lines that contain their email address. I can...