added email test, prevents emaling failure