added the email functionality post user signup