read_emails_full
Fetch multiple Gmail messages and save full results to a local file, avoiding inline output limits for large batches.
Instructions
Read multiple emails and always save the full results to a file.
Unlike read_emails() which returns data inline, this tool always writes
to disk and returns only a compact confirmation — making it safe to use
even for hundreds of emails without hitting MCP output limits.
Required:
message_ids (list[str]) — Gmail message IDs to fetch.
save_path (str) — local path to save the file. Must be inside your
home directory (path traversal is rejected).
Optional:
format (str, default="md") — output format. One of:
"md" — Markdown with summary table + full body per email
"json" — pretty-printed JSON
"jsonl" — one JSON object per line
"csv" — complete fields, text/HTML bodies, identifiers and errors
Returns on success:
{"ok": true, "data": {
"saved": true,
"path": "C:\Users\...\my-emails.md",
"count": 49,
"format": "md",
"total_size_bytes": 184523
}}
Workflow note: Use this instead of read_emails() when you know the
result will be large. Always saves — never returns data inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | md | |
| save_path | Yes | ||
| message_ids | Yes |