email testing unique and invalidation