Adding unique codes to a mass mail

Adding unique codes to a mass mail

We are about to send out a survey request to our leads and contacts. Each lead/contact will be required to use a unique code to access the survey. In the introductory email what would be the most effective way of including the unique id into the individual emails.