added email algo first attempt
added email algo first attempt