Hello Jonny,
Thank you for clarifying. For us to help you with the script, please, provide an example of the CSV file you need. Also, please, provide us with the current script you have sending emails. You can post the details here or send to us at support@adaxes.com.