# search-emails

Search emails using Gmail search syntax

Agent View of the PolicyLayer registry record for `search-emails`. HTML page: https://policylayer.com/tools/0x8687-mcp-gmail-v1/search-emails

## Facts

- Tool: `search-emails`
- Server: Meme MCP Server (`0x8687/mcp-gmail-v1`) — https://policylayer.com/tools/0x8687-mcp-gmail-v1.md
- Homepage: https://github.com/0x8687/mcp-gmail-v1
- Risk category: Read (Low risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search-emails",
    "arguments": {}
  }
}
```

## Why search-emails is rated Low

This tool performs a read-only operation on Gmail data. It searches and retrieves emails matching specified criteria but does not create, modify, delete, or execute any external operations. The search capability may have side effects on privacy if misused (accessing sensitive emails), but the tool itself is fundamentally a retrieval mechanism with no destructive or financial implications.

From the tool's own definition: "Tool name 'search-emails' and description 'Search emails using Gmail search syntax' indicate a query operation that retrieves email data without modifying or deleting it."

## Use case

AI agents call search-emails to retrieve information from Meme MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Meme MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "search-emails": {}
  }
}
```

## Other tools on Meme MCP Server (16)

- `move-to-trash` — Destructive — https://policylayer.com/tools/0x8687-mcp-gmail-v1/move-to-trash.md
- `check-gmail-connection` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/check-gmail-connection.md
- `get-email` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/get-email.md
- `get-emails` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/get-emails.md
- `get-gmail-settings` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/get-gmail-settings.md
- `get-labels` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/get-labels.md
- `get-threads` — Read — https://policylayer.com/tools/0x8687-mcp-gmail-v1/get-threads.md
- `connect-gmail` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/connect-gmail.md
- `create-draft` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/create-draft.md
- `create-label` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/create-label.md
- `forward-email` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/forward-email.md
- `mark-as-read` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/mark-as-read.md
- `mark-as-unread` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/mark-as-unread.md
- `reply-to-email` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/reply-to-email.md
- `send-draft` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/send-draft.md
- `send-email` — Write — https://policylayer.com/tools/0x8687-mcp-gmail-v1/send-email.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0x8687-mcp-gmail-v1 · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0x8687-mcp-gmail-v1
