Get Email
email_getRetrieve detailed email information including headers, body, and attachment metadata. Supports caching and optional forced refresh for fresh data.
Instructions
📖 Get detailed information about a specific email (read-only, safe for unsupervised use)
Includes full headers, body content, and attachment metadata. Body content is truncated at 50,000 characters by default.
Caching: Results are cached for 15 minutes (fresh) / 1 hour (stale). Use force_refresh=True to bypass cache and fetch fresh data.
Args: email_id: The email ID account_id: The account ID include_body: Whether to include the email body (default: True) body_max_length: Maximum characters for body content (1-500000, default: 50000) include_attachments: Whether to include attachment metadata (default: True) use_cache: Whether to use cached data if available (default: True) force_refresh: Force refresh from API, bypassing cache (default: False)
Returns: Email details with: - _cache_status: Cache state (fresh/stale/miss) - _cached_at: When data was cached (ISO format)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | ||
| account_id | Yes | ||
| include_body | No | ||
| body_max_length | No | ||
| include_attachments | No | ||
| use_cache | No | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||