fixed issue with adding tracking codes with multipart emails that have attachments