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
- Connect to mail server with credentials
- Search Mail for specific messages
- Get Mail to retrieve message content
- Save Attachments if needed
- Move Mail or Delete Mail after processing
- 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
Connect
Core.Mail.Connect
Create Folder
Core.Mail.CreateFolder
Delete Folder
Core.Mail.DeleteFolder
Delete Mail
Core.Mail.Delete
Disconnect
Core.Mail.Disconnect
Get Mail
Core.Mail.Get
List Folders
Core.Mail.Folders
Move Mail
Core.Mail.Move
Save Attachments
Core.Mail.SaveAttachments
Search Mail
Core.Mail.Search
Send Mail
Core.Mail.Send