PDF CREATOR attachment through mail duplicates content

i have set up a workflow that can send mail using pdf creator when i do this the mail gets sent but lets say i have only 3-4 pages in the pdf template i set , when the mail is sent the content gets duplicated and it goes to 20-100 pages sometimes , why is that how can i fix that.