Gmail Sender
This document outlines the functionality and characteristics of the Gmail Sender node, which enables automated email sending through Gmail.
Node Inputs
The Gmail Sender node requires the following inputs:
- Recipient: Email address(es) of recipients
- Multiple recipients: Separate by commas
- CC/BCC: Use ‘cc:’ or ‘bcc:’ prefix
- Subject: The subject line of the email
- Body: The main content of your email
- Sender Display Name (Optional): Custom name shown in recipient’s inbox
Optional Settings
- Send as HTML: Toggle for HTML formatting (default: False)
- Reply to Email: Enable this option to reply directly to an email thread
- Forward Email: Enable this option to forward an existing email
- Include Attachments: Toggle to include attachments when forwarding emails
- Save as Draft: Option to save email as draft instead of sending
- Thread ID (Optional): Required for replying to or forwarding email threads [you can dynamically get the thread ID using the Gmail Reader node]
- Attachment Files (Optional): Files to attach to the email
Node Output
The Gmail Sender node produces the following output:
- Email Status: Confirmation of whether the email was sent successfully
Node Functionality
The Gmail Sender node automates email sending through Gmail using the Gmail API.
Email Thread Replies and Forwards
To reply to or forward an email in the same thread:
- Reply to Email:
- Enable the “Reply to Email” option
- Connect the Thread ID AND Subject from the Gmail Reader node
- The email will appear as a direct reply in the original conversation
- Forward Email:
- Enable the “Forward Email” option
- Connect the Thread ID from a Gmail Reader node
Example Workflow
Here’s how it works:
- Gmail Reader node fetches the email (gets Thread ID and Subject)
- Ask AI generates your response
- Gmail Sender sends the reply:
- Enable “Reply to Email” option
- Connect Thread ID from Gmail Reader
- Connect Subject from Gmail Reader (required for the reply to appear in the same thread)
- Input AI-generated response as Body
Key Features
- Support for HTML formatting
- File attachment capabilities
- Multiple recipient handling
- Draft email creation
- Reply and forward functionality
- Loop Mode support for sending multiple emails
- Secure authentication with Gumloop
Configure Inputs
The node allows you to configure certain parameters as dynamic inputs by clicking the “Configure Inputs” button. This makes your workflow more flexible by enabling these settings to change based on previous node outputs.
When To Use
The Gmail Sender node is particularly valuable in scenarios requiring automated email communication. Common use cases include:
Automated Customer Support
This workflow automatically handles customer support inquiries by:
- Reading incoming customer emails
- Extracting key information like ticket numbers and issue details
- Generating appropriate responses with AI
- Sending replies directly in the same email thread
Weekly Report Distribution
This workflow automatically sends weekly reports by:
- Triggering on a set schedule
- Fetching the latest data from Google Sheets
- Summarizing key metrics and insights
- Sending formatted reports to stakeholders
Email Response Classification
This workflow handles different types of emails appropriately by:
- Reading incoming emails
- Categorizing them by type (sales, support, feature request)
- Generating category-specific responses
- Sending appropriate replies to each inquiry
Email Forwarding with Attachment Processing
This workflow processes incoming invoices by:
- Identifying emails containing invoices
- Forwarding them to the finance department
- Extracting key financial data
- Recording it in Airtable for tracking
Some specific examples:
- Welcome emails for new users
- Transaction confirmations
- Weekly report distribution
- Support ticket responses
- Automated reply chains for customer inquiries
- Forwarding important emails to relevant team members
Important Considerations:
- Requires Authentication with Gmail - Set up in the Credentials page
- HTML formatting requires ‘Send as HTML’ parameter to be true
- For bulk emailing, utilize Loop Mode
- Be mindful of Gmail’s sending limits and guidelines
- When replying or forwarding, Thread ID is required
In summary, the Gmail Sender node streamlines email communication by providing a reliable way to send automated emails through Gmail, supporting various formats, attachment types, and interaction with existing email threads.