added email helper class