Email Authentication

Right now When a user Signs up, an email is instantly sent to the user’s ID.
However, I want to first verify the user credentials before sending out the the email.
What process can I use to achieve this task?