checking email works