Send email
The Gmail Send Email tool enables users to send emails directly from their Google Workspace account using a simple API integration. It supports customization of recipients, subject lines, email bodies, and attachments, making automated email communication seamless and efficient.
Features
- Send emails to multiple recipients with To, CC, and BCC fields.
- Customize the sender's display name and email address easily.
- Support for both plaintext and HTML formatted email bodies.
- Attach files by specifying filenames and URLs or local paths.
- Include reply-to addresses and reference previous emails using message IDs.
Benefits
- Streamlines automated email sending within Google Workspace.
- Enhances professional communication with customizable sender information.
- Increases engagement with rich HTML email content.
- Facilitates efficient distribution of documents and attachments.
- Simplifies managing email conversations by supporting reply reference headers.
Description
Send an email 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
13 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. |
| fromName | string | Specify the name that will be displayed in the "From" section of the email. |
| fromEmail | string | Specify the email address that will be displayed in the "From" section of the email. |
| replyTo | string | Specify the email address that will appear on the "Reply-To" field, if different than the sender's email. |
| 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. |