Limesurvey already creates this number, which is SAVEID, you should be able to send it in the email as well {SAVEDID}.
manual.limesurvey.org/URL_fields#Basic_fields
there is also explained what SAVEDID is.
manual.limesurvey.org/URL_fields#Basic_fields
there is also explained what SAVEDID is.