Skip to main content

SMTP Email Sender

Send emails through configured SMTP servers in your workflows

What is SMTP Email Sender?

The SMTP Email Sender node enables automated email delivery through configured SMTP servers. This node is essential for workflows that require email notifications, alerts, or automated communication. It supports both plain text and HTML email formats, making it versatile for various communication needs from simple notifications to rich HTML newsletters.

How to use it?

To effectively configure and use the SMTP Email Sender node in your workflow, follow these steps:

  1. Configure SMTP Server Settings:

    • Host: Enter your SMTP server hostname (e.g., smtp.gmail.com, smtp.outlook.com)
    • Port: Set the SMTP port number (default: 587 for TLS, 465 for SSL, 25 for unencrypted)
    • Secure: Enable secure transport (TLS/SSL) for encrypted communication (recommended: true)
  2. Set Up Authentication:

    • Credentials: Configure username/password credentials for SMTP server authentication
    • Use the credentials manager to securely store and reference your email account credentials
    • Ensure the credentials have permission to send emails through the SMTP server
  3. Connect Email Content:

    • From: Connect the sender email address (must be authorized by the SMTP server)
    • To: Connect recipient email address(es) - can be single address or comma-separated list
    • Subject: Connect the email subject line
    • Text: Connect plain text email content (optional)
    • HTML: Connect HTML-formatted email content (optional)
  4. Execution Flow:

    • The node executes when all required inputs are provided
    • Email is sent through the configured SMTP server
    • The node completes without output (acts as a terminal node)

Example of usage

Objective: Create a workflow that sends an email notification when data processing is complete.

Setup Steps:

  1. SMTP Configuration: Set host to smtp.gmail.com, port to 587, secure to true
  2. Credentials: Store Gmail app password in credentials manager
  3. Email Content: Connect dynamic text from data processor to create personalized notifications
  4. Recipients: Use text input or dynamic data to specify email recipients

Additional information

SMTP Server Examples:

  • Gmail: Host: smtp.gmail.com, Port: 587, Secure: true
  • Outlook: Host: smtp-mail.outlook.com, Port: 587, Secure: true
  • Yahoo: Host: smtp.mail.yahoo.com, Port: 587, Secure: true

Content Formatting:

  • Text Content: Plain text format, suitable for simple notifications
  • HTML Content: Rich formatting with images, links, and styling
  • Both text and HTML can be provided simultaneously for better client compatibility
  • Use dynamic content from previous nodes to personalize emails

Common Use Cases:

  • Automated notifications and alerts
  • Workflow completion confirmations
  • Error reporting and system status updates
  • Data export delivery notifications
  • User engagement campaigns