structure query to only get owner's mail