Optional
to?: { email: string }[]Optional
cc?: { email: string }[]cc recipients
Optional
bcc?: { email: string }[]bcc recipients
Optional
subject?: stringemail subject
Optional
body?: stringemail body
Optional
attachments?: { name: string; type: string; content: string }[]name
: file nametype
: file MIME typecontent
: file base64 encoded content, doesn't contain the data URI prefixOptional
headers?: { name: `X-Zoom-App-${string}`; value: string }[]App custom headers, it can be used to store metadata bound with mail.
If a header name starts with X-Zoom-App-Private-
, the header will only be saved in the draft and will not be included when sending the email.
Be sure to use your own unique prefix in the header name to avoid conflicts with other app headers.
desktop client v6.4.5
Optional
editorAny app local state associated with the editor instance, it will replace the previous editorState.
Since desktop client v6.4.5, will be removed later, not recommended to use.
Generated using TypeDoc
recipients