Testing Email and Queries