added email testing