registerEmail using sendEmail