Email reply creates new ticket

Email reply creates new ticket

I have a custom function that builds and sends an email to the requester on a New User ticket with a URL of a standalone template that needs to be used for account access.
The email sent contains our format of the request ID and looks identical to other ticket reply emails.
However, a reply on that email does create a new ticket.
I need to format the subject in such a way that an email reply connects back to the originating New User ticket.

                  New to ADSelfService Plus?