Magidoc

addActionMailMessage
Mutation

Attach an existing provider mail thread to an action. The mailMessage threadId must be the provider thread ID, not an individual message ID. Duplicate thread links are idempotent.

Arguments

#

actionId

ID !
Non-null

Action ID receiving the mail thread

mailMessage

Non-null

Provider thread metadata to persist

parentThreadId

Optional parent provider thread ID used for duplicate detection

Response

#

Returns Action .

Example

#