How to Find an Email in Your Existing Contacts

00
How to Find an Email in Your Existing Contacts

What Contact Search Can and Cannot Do

If you are asking how can I find someone's email, the first distinction is between searching contacts you already have access to and finding an address that is not in any contact store. Google's People API documentation describes search methods that look inside the authenticated user's own contacts or other contacts. It does not describe a general directory for locating arbitrary people's email addresses.

The People API offers two related search endpoints. The people.searchContacts method searches the authenticated user's contacts for matches against names, nicknames, email addresses, phone numbers, and organizations from the CONTACT source. The otherContacts.search method searches the authenticated user's other contacts, matching on names, email addresses, and phone numbers from the OTHER_CONTACT source.

Both methods use prefix phrase matching. A person with the name "foo name" matches queries such as "f", "fo", "foo", "foo n", or "nam", but not "oo n". That behavior matters when you plan a query: a partial prefix can return matches, while a fragment from the middle of a word will not. The documentation also notes that results can be limited with pageSize and that specific fields can be selected with readMask.

What Access Do These Search Methods Require?

Access is scoped and authorized, not open. The people.searchContacts method requires authorization with either the contacts or contacts.readonly OAuth scope. The otherContacts.search method requires the contacts.other.readonly scope. These scopes describe what an application may read after a user authorizes it; they are not a public lookup service for anyone's address.

The request itself is a GET call to the People API endpoint, and the request body must be empty. The query parameter is required plain text, pageSize is optional, and readMask is required to restrict which fields are returned. For people.searchContacts, pageSize defaults to 10 when unset or set to 0, and values greater than 30 are capped at 30.

The two endpoints also differ in what they can return. The otherContacts.search readMask accepts emailAddresses, metadata, names, and phoneNumbers. The people.searchContacts readMask lists a much broader set of valid fields, including emailAddresses, names, organizations, and phoneNumbers. Choosing the right endpoint therefore depends on which contact source you are allowed to search and which fields you need back.

How Do You Search Contacts in Three Steps?

  1. Step 1: Confirm the contact source and authorization. Decide whether the address should come from the authenticated user's contacts or from other contacts, then confirm the matching OAuth scope. The documentation ties people.searchContacts to the contacts or contacts.readonly scope and otherContacts.search to contacts.other.readonly. Without that authorization, the search is not available.

  2. Step 2: Send a warmup request with an empty query. The documentation states that before searching, clients should send a warmup request with an empty query to update the cache. The contacts guide shows this as a searchContacts call with an empty query and a readMask, followed by a wait of a few seconds before the actual search request. Skipping this step is described as a risk to cache freshness.

  3. Step 3: Send the real query with a readMask and review the matches. Provide the plain-text query, set readMask to the fields you need, and optionally set pageSize. The response contains matching contacts in a SearchResponse object. Because matching is prefix-based, adjust the query if a fragment does not return the expected contact.

Which Checks Matter Before You Trust a Contact Match?

Check Analysis
Check the source boundary:

The search only covers the authenticated user's contacts or other contacts, depending on the endpoint. The documentation describes matches from the CONTACT source for people.searchContacts and from the OTHER_CONTACT source for otherContacts.search. If the person is not in that source, the method is not designed to find them, so do not treat an empty result as proof that no address exists anywhere.

Check the query shape:

Matching uses prefix phrases of fields on a person, so "foo n" can match a name beginning with those characters, while "oo n" does not. This is a documented matching rule, not a ranking or relevance score. If a query returns nothing, try a valid prefix of the name or another searchable field rather than assuming the contact is absent.

Check confirmation before acting:

The MCP search_contacts tool documentation requires presenting multiple results to the user and asking which one to use. It also forbids passing the output into another tool, such as sending an email or creating a draft, without explicit user confirmation, even when only one person is found. That rule is a safeguard against acting on a wrong match, not evidence that a match is correct.

How Does SHMLANG Handle Contact and Content Architecture?

SHMLANG's documented bilingual exhibition stand project shows a related kind of structured work. The disclosed scope of work lists web design, English–German content, and SEO. The brief describes a bilingual SEO rebuild for exhibition stand services, case directories, Schema markup, sitemap logic, and editable SEO fields. These are documented project actions, not a claim about search rankings or inquiry results.

The same case page describes the challenge and solution in structural terms. The challenge was that exhibition stand services depend on long-tail regional search, so the site needed clearer relationships between services, industries, cities, and case directories. The solution was a bilingual content architecture with case imports, service Schema, sitemap coverage, and backend-managed SEO fields. The page does not report measured outcomes, so none should be inferred.

SHMLANG's B2B SEO service scope describes how buyer questions are mapped to pages and how technical work is reviewed. It lists buyer research and keyword mapping, technical SEO and page architecture, commercial pages and supporting content, internal links and inquiry paths, international SEO and localisation, and authority and evidence planning. The proposal defines which pages, markets, and implementation tasks are included, and the scope states whether fixes are handled by SHMLANG, the client's team, or another development partner.

Frequently Asked Questions

Q: Can I use the People API to find any person's email address?

A: No. The documented search methods search the authenticated user's contacts or other contacts, matching fields from the CONTACT or OTHER_CONTACT source. They are not described as a general directory for arbitrary people.

Q: Why does a contact search return no match for part of a name?

A: Matching uses prefix phrases, so a person named "foo name" matches "foo n" but not "oo n". Try a valid prefix of the name or another searchable field such as an email address or organization.

Q: What should happen before an email is sent based on a search result?

A: The MCP tool documentation requires presenting the found person's details and prompting the user to verify the intended person before further steps, and it forbids passing results into another tool without explicit confirmation.

Comments (0)

No comments yet. Be the first!

Please Log in to post comments.