Skip to main content

Email

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

ParameterDescription
SMTP UrlSMTP server URL like smtp.gmail.com
SMTP PortDefault is 587. Port options may vary between SMTP services.
SMTP UsernameYour SMTP username
SMTP PasswordYour 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 SubjectSubject line of the email
Email Cc (Comma separated)CC recipient(s)
Email Bcc (Comma separated)BCC recipient(s)
Email BodyContent of the email
Email Attachment (Comma separated)File paths or names that point to the attachment(s)