Replace a draft
update_draftDestructive
Replace the whole content of a draft. Pass every field the draft should have, not only the ones that change. The draft comes back under a NEW uid; the old uid stops existing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC address(es), comma-separated | |
| to | No | Recipient address(es), comma-separated. May be left out and filled in later. | |
| bcc | No | BCC address(es), comma-separated | |
| uid | Yes | Draft UID from create_draft, or from list_messages on the "Drafts" folder | |
| html | No | HTML body | |
| text | No | Plain-text body | |
| mailbox | Yes | Full mailbox address | |
| subject | No | ||
| fromName | No | From name the draft is sent under; default is the mailbox's own name | |
| inReplyTo | No | Message-ID being replied to (for threading) | |
| references | No | Space-separated Message-IDs of the conversation so far |