Gmail find contacts

From theexperiencecompany/gaia · View interactive version

Gmail find contacts is an AI agent skill from the GitHub repository theexperiencecompany/gaia. Find contacts in Gmail - search for specific people or email addresses from email history.

How to use this skill

Skill file

Gmail Find Contacts

When to Use

Tool Priority (Critical)

1) GMAIL_GET_CONTACT_LIST (PRIMARY)

Optimized custom tool for contact lookup from real Gmail message history.

Use this first for contact search.

Parameters:

Best query patterns:

Scaling:

2) GMAIL_SEARCH_PEOPLE

Searches people/contact records by name, email, phone, and organization.

Best for:

3) GMAIL_GET_CONTACTS

Lists Google contact connections from the account contacts dataset.

Best for:

4) GMAIL_FETCH_MESSAGES

Search emails directly for context when contact tools are inconclusive.

Workflow

Step 1: Convert request to a search token

Step 2: Run primary lookup first

GMAIL_GET_CONTACT_LIST(query="john", max_results=30)

Step 3: Broaden if results are weak

GMAIL_GET_CONTACT_LIST(query="john", max_results=60)
GMAIL_GET_CONTACT_LIST(query="john", max_results=100)

If still empty, retry with alternate token (last name, domain, exact email

fragment).

Step 4: Use fallbacks

Step 5: Present and disambiguate

Show concise matches (name + email). If multiple strong matches remain, ask one

focused question.

Example:

I found 3 likely matches for "john":
1. John Smith - john.smith@company.com
2. John Doe - john.doe@other.com
3. Johnny Lee - johnny@startup.io

Which one should I use?

Important Rules

  1. Prefer GMAIL_GET_CONTACT_LIST before other contact tools.
  2. Do not stop after one failed lookup; broaden query or max_results.
  3. If multiple matches, ask one clarifying question before taking action.
  4. Respect privacy; share only contact details needed for the task.
  5. If nothing is found, state what you tried and suggest the next best query.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.