Compose Message With File
shipmail_compose_message_with_fileCompose an email with a file attachment, then review and send or schedule it via a card action.
Instructions
Open a review card for a conversation or library file when the host supports MCP Apps file handoff and widget tool calls. The message is sent or scheduled only after the user presses the card action. For a local filesystem path, use shipmail_prepare_staged_attachment_upload instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| file | Yes | ||
| html | No | ||
| text | No | ||
| headers | No | ||
| subject | Yes | ||
| metadata | No | ||
| reply_to | No | ||
| mailbox_id | Yes | Mailbox ID to send from. | |
| references | No | ||
| in_reply_to | No | ||
| scheduled_at | No | ||
| client_reference | No | ||
| source_rfc_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ready | Yes | ||
| filename | Yes | ||
| scheduled | Yes |