Sending an email to confirm email during custom login