sync_draft_to_remote
Force-push a locally saved draft to the remote Proton Drafts folder and return its UID. Use when a draft was created with sync disabled or when automatic sync failed.
Instructions
Force-push a locally saved draft to the Proton Drafts IMAP folder and return the remote UID. Use when a draft was created with syncToRemote:false or when the automatic sync failed. Do NOT use this if PROTONMAIL_ALLOW_REMOTE_DRAFT_SYNC is false — the call will be rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft id returned by create_draft, list_drafts, or a create_*_draft call. |