Create draft
The 'gmail-create-draft' AI tool enables users to effortlessly create email drafts directly within their Google Workspace account, streamlining workflow and enhancing email management.
Features
- Supports creating drafts with multiple recipients including To, CC, and BCC fields.
- Allows composing email bodies in both plain text and HTML formats.
- Supports adding multiple attachments with customizable filenames and URLs or local paths.
- Enables specifying 'From' email address and including HTML signatures.
- Supports replying to specific messages by setting the 'inReplyTo' message ID.
Benefits
- Saves time by automating draft creation within Gmail.
- Increases email productivity with customizable recipient handling.
- Enhances communication with rich text (HTML) email support.
- Facilitates better organization by allowing attachments and message threading.
- Provides flexibility to manage professional email signatures and sender addresses.
Description
Create a draft from your Google Workspace email account. See the documentation
IMPORTANT: The arguments have specific formats. Please follow the instructions below:
- to: Return JSON in this format: string[]
- cc: Return JSON in this format: string[]
- bcc: Return JSON in this format: string[]
- attachmentFilenames: Return JSON in this format: string[]
- attachmentUrlsOrPaths: Return JSON in this format: string[]
Parameters
12 parameters
| Name | Type | Description |
|---|---|---|
| torequired | string[] | Enter a single recipient's email or multiple emails as items in an array. |
| cc | string[] | Enter a single recipient's email or multiple emails as items in an array. |
| bcc | string[] | Enter a single recipient's email or multiple emails as items in an array. |
| subjectrequired | string | Specify a subject for the email. |
| bodyrequired | string | Include an email body as either plain text or HTML. If HTML, make sure to set the "Body Type" prop to |
| bodyType | enum | Choose to send as plain text or HTML. Defaults to |
| attachmentFilenames | string[] | Array of the names of the files to attach. Must contain the file extension (e.g. |
| attachmentUrlsOrPaths | string[] | Array of the URLs of the download links for the files, or the local paths (e.g. |
| inReplyTo | string | Specify the |
| mimeType | string | Mime Type of attachments. Setting the mime-type will override using the filename extension to determine attachment's content type. |
| fromEmail | string | Specify the email address that will be displayed in the "From" section of the email. |
| signature | string | An HTML signature composed in the Gmail Web UI that will be included in the message. Only works with the |