The Send Email Dynamic Package Action is a robust and versatile tool that facilitates automated email sending within workflows. It offers support for both Plain Text and HTML email formats, and includes the ability to dynamically insert content and attach files. This action is ideal for a wide variety of use cases, ranging from simple notifications to complex, branded email campaigns with attachments, allowing businesses to communicate efficiently and professionally with clients, employees, or stakeholders.
Send email action support both SMTP and Microsoft Graph API
Metadata tab
The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
This option is typically used for debugging and is not recommended in a production environment.
It can be globally disabled through the
options dialog
.
Parameters tab
To minimize potential issues, avoid using mapped drives and opt for the UNC (Universal Naming Convention) path instead. Mapped drives can lead to problems with accessibility and permissions, especially in networked environments or automated processes. UNC paths provide a direct, reliable way to reference network resources without relying on local drive letters, ensuring better stability and consistency across different systems and users.
Tip: The Enable Logging option can generate very large log files and should be used exclusively for debugging purposes only.
Selecting Connection
Tip: Connection details can be amended by clicking Edit button.
Sending Plain Text Email Messages
Sending HTML Formatted Messages
Replace Variables
When selected the variables are replaced with values inside email body
Attachments
Use mask to attach multiple files
Separate multiple files by semicolon
Headers
Email headers specify specific sending and return options for an email. When sending via SMTP, you can use custom headers to do a great many things: customize messages, tag them, track them, or control specific behaviors.
For example:
Set the X-Mailgun-Tag header if you’re using Mailgun’s “Topic” subscription functionality
Set your own List-Unsubscribe header for specific emails (if you use our unsubscribe link, we add this header automatically)
Stop emails from being shown as a thread by Gmail with the X-Entity-Ref-ID header
Use X-Auto-Response-Suppress:OOF to suppress auto-replies from Exchange servers
Variables tab
The Variables tab defines the variables to be updated during the action’s execution.
Tip: double click on the variable name to disable/enable it
Execution log tab
The Execution log tab is populated after the action is executed. Double click on the row to view the log.
Default Email footer
P.S. We are using Advanced ETL Processor here, so should you!