Add File Attachment To Mail
mail_add_file_attachmentAdd a base64-encoded file up to 3 MB to an existing draft email, enabling you to attach documents directly to your message.
Instructions
Add a base64-encoded file under 3 MB to an existing draft message. Requires delegated Mail.ReadWrite. Chinese intents / 中文意图: 给邮件添加附件, 给草稿添加文件, 附加文件到邮件.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Attachment file name. | |
| isInline | No | Whether this is an inline attachment. | |
| contentId | No | Optional inline content ID. | |
| messageId | Yes | Draft message ID. | |
| contentType | Yes | MIME type. | |
| contentBase64 | Yes | Base64-encoded content, under 3 MB decoded. |