I have the below code which generates pdf file for each record in the table with an email address to a specific folder. but what I have realized is that on each iteration th