Use the Email gem to send plain emails from your Spark pipeline. This gem supports setting custom recipients, subject lines, and message content, along with optional file attachments. It’s useful for sending notifications, alerts, or status updates directly from your data workflows. Configure your SMTP settings and email fields to start sending messages.
Parameters
Parameter | Description |
---|---|
SMTP Url | SMTP server URL like smtp.gmail.com |
SMTP Port | Default is 587 . Port options may vary between SMTP services. |
SMTP Username | Your SMTP username |
SMTP Password | Your SMTP password |
Email From (Sender) | Email address of the sender (same as SMTP connection) |
Email To (Receiver) | Email address of the receiver. You can list multiple recipients. |
Email Subject | Subject line of the email |
Email Cc (Comma separated) | CC recipient(s) |
Email Bcc (Comma separated) | BCC recipient(s) |
Email Body | Content of the email |
Email Attachment (Comma separated) | File paths or names that point to the attachment(s) |