Magidoc

updateMailDraftBody
Mutation

Update only the body content of a mail draft, preserving all other fields like attachments. hive-collab-server calls this when persisting collaborative mail draft edits. The HTML body is stored exactly as given (links are not rewritten); on a reply draft the quoted thread is re-attached below it. Never sends.

Access: Requires authenticated user with connected mail provider.

Errors:

  • User is not logged in
  • User does not have specified providerId connected
  • Unsupported mail provider

Arguments

#

draftId

ID !
Non-null

providerId

body

Non-null

Response

#

Returns MailMessage .

Example

#