Skip to main content

Mail

Send and receive emails via IMAP and SMTP protocols for email automation, inbox monitoring, and message processing.

Overview

The Mail package provides comprehensive email handling capabilities using standard IMAP and SMTP protocols. Use it when you need to send emails, read inbox contents, process incoming messages, manage folders, or build email-based automation workflows.

Key Features

  • Send Emails - Send emails with attachments via SMTP
  • Read Emails - Retrieve and read emails via IMAP
  • Search & Filter - Search emails by criteria
  • Folder Management - Create, delete, and list folders
  • Attachment Handling - Save email attachments to files

Available Nodes

  • Connect - Connect to mail server (IMAP)
  • Disconnect - Close mail server connection
  • Send Mail - Send email message via SMTP
  • Get Mail - Retrieve emails from mailbox
  • Search Mail - Search for emails matching criteria
  • Move Mail - Move emails between folders
  • Delete Mail - Delete emails
  • Save Attachments - Save email attachments to files
  • List Folders - List all mailbox folders
  • Create Folder - Create new mail folder
  • Delete Folder - Delete mail folder

When to Use This Package

  • Email Notifications: Send automated alerts and reports
  • Inbox Processing: Process incoming emails automatically
  • Order Processing: Extract order details from emails
  • Document Collection: Gather attachments from emails
  • Customer Support: Auto-respond or route support emails

Supported Protocols

  • IMAP - For reading and managing emails
  • SMTP - For sending emails
  • SSL/TLS - Secure connections supported

Typical Workflow

  1. Connect to mail server with credentials
  2. Search Mail for specific messages
  3. Get Mail to retrieve message content
  4. Save Attachments if needed
  5. Move Mail or Delete Mail after processing
  6. Disconnect when finished

Common Use Cases

  • Monitor inbox for specific sender or subject
  • Forward emails with specific attachments
  • Archive processed emails to folders
  • Send daily/weekly automated reports
  • Extract invoice data from emails