gmail_preview_message
Preview and validate an email's composition without sending, showing the exact payload and detected content type (plain text vs multipart HTML).
Instructions
Validates composition and shows exactly what gmail_send_message_strict would send, without sending anything. Reports detected content_type (text/plain vs multipart/alternative HTML). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| is_html | No | Force HTML (true) or plain text (false). Omit for auto-detect: HTML tags trigger multipart/alternative with plain fallback. | |
| subject | Yes | ||
| thread_id | No | ||
| attachments | No | Local file paths to attach (max 5, validated by size) | |
| inline_images | No | Inline images for HTML (multipart/related with Content-ID). Requires HTML body. |