mail_update_draft
Update an existing email draft by saving a new version, preserving attachments and returning the new draft UID. Use exact UID and UIDVALIDITY to replace subject, recipients, or body without sending mail.
Instructions
Update an existing server draft by saving a new version before removing the old one. Requires the exact UID, observed UIDVALIDITY and UIDPLUS. Existing attachments are preserved unless preserveAttachments=false; supplied attachments are added. Providing text or HTML replaces the body, including the old alternate body. Returns the NEW draft UID. Never sends mail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| uid | Yes | ||
| html | No | ||
| text | No | ||
| folder | Yes | ||
| subject | No | ||
| accountId | Yes | ||
| attachments | No | ||
| uidValidity | Yes | ||
| preserveAttachments | No |