Skip to main content

Send Gmail

Sends emails through Gmail.

Overview

The Send Gmail node sends emails using your connected Gmail account. Use it to:

  • Send notifications
  • Deliver reports
  • Contact customers
  • Automate email communications

Parameters

ParameterDescriptionRequired
CredentialGmail account to send fromYes
RecipientEmail address to send toYes
SubjectEmail subject lineNo
BodyEmail contentNo
CCCarbon copy recipientsNo
BCCBlind carbon copy recipientsNo
SenderCustom sender nameNo
Reply-ToReply-to addressNo
AttachmentsFiles to attachNo

Recipient, CC, BCC

Enter email addresses. For multiple recipients, separate with commas:

alice@example.com, bob@example.com

Supports expressions:

{{$item.data.email}}

Subject

The email subject. Supports expressions:

Order Confirmation - {{$item.data.orderId}}

Body

The email content. Supports expressions and multi-line text:

Hi {{$item.data.customerName}},

Your order #{{$item.data.orderId}} has been shipped!

Tracking number: {{$item.data.trackingNumber}}

Thank you for your purchase.

Attachments

Attach files from your workflow. Expects an array of file references from upstream nodes (like Google Drive Trigger or export nodes).

Output

The input item is returned with an added emailResult field:

{
"emailResult": {
"success": true,
"recipient": "user@example.com",
"subject": "Order Confirmation",
"body": "...",
"attachments": []
}
}

Examples

Order Confirmation

Send order confirmations:

  • Recipient: {{\$item.data.customerEmail}}
  • Subject: Order #{{\$item.data.orderId}} Confirmed
  • Body:
    Dear {{$item.data.customerName}},

    Thank you for your order!

    Order Details:
    - Order ID: {{$item.data.orderId}}
    - Total: ${{$item.data.total}}
    - Items: {{$item.data.itemCount}}

    We'll notify you when your order ships.

    Best regards,
    The Team

Error Alert

Notify admins of errors:

  • Recipient: admin@company.com
  • Subject: Workflow Error Alert
  • Body:
    An error occurred in the workflow:

    Error: {{$item.data.error}}
    Node: {{$item.data.sourceNode}}
    Time: {{$item.data.timestamp}}

    Please investigate.

Report Delivery

Send daily reports with attachment:

  • Recipient: {{\$item.data.reportRecipient}}
  • Subject: Daily Sales Report - {{\$item.data.reportDate}}
  • Body:
    Daily Sales Summary for {{$item.data.reportDate}}

    Total Sales: ${{$item.data.totalSales}}
    Orders: {{$item.data.orderCount}}
    Top Product: {{$item.data.topProduct}}

    See attached report for details.
  • Attachments: {{\$item.data.reportFile}} (from Export to Excel node)

Customer Follow-up

Send follow-up emails:

  • Recipient: {{\$item.data.email}}
  • CC: sales@company.com
  • Subject: Following up on your inquiry
  • Reply-To: sales@company.com
  • Body:
    Hi {{$item.data.name}},

    Thank you for your recent inquiry about {{$item.data.product}}.

    I wanted to follow up and see if you have any questions.

    Best regards,
    {{$item.data.salesRep}}

Authentication

This node requires a connected Gmail credential. Set up Gmail integration in your workspace settings:

  1. Go to workspace settings
  2. Add Gmail credential
  3. Authorize with Google
  4. Select the credential in the node

Rate Limits

Gmail has sending limits:

  • ~500 emails/day for regular accounts
  • Higher limits for Google Workspace accounts

Consider batch size when sending many emails.

Tips

  • Use expressions for personalized content
  • Set Reply-To for support emails
  • Include unsubscribe links for marketing emails
  • Test with your own email first
  • Handle send failures with error output
  • Consider email deliverability best practices