Type: lib.mail.SendEmail
Namespace: lib.mail
Description
Send a plain text email via SMTP. email, smtp, send
Use cases:
- Send simple notification messages
- Automate email reports
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| smtp_server | str |
SMTP server hostname | smtp.gmail.com |
| smtp_port | int |
SMTP server port | 587 |
| username | str |
SMTP username | `` |
| password | str |
SMTP password | `` |
| from_address | str |
Sender email address | `` |
| to_address | str |
Recipient email address | `` |
| subject | str |
Email subject | `` |
| body | str |
Email body | `` |
| retry_attempts | int |
Maximum retry attempts for SMTP send | 3 |
| retry_base_delay | float |
Base delay (seconds) for exponential backoff | 0.5 |
| retry_max_delay | float |
Maximum delay (seconds) for exponential backoff | 5.0 |
| retry_factor | float |
Exponential growth factor for backoff | 2.0 |
| retry_jitter | float |
Random jitter (seconds) added to each backoff | 0.1 |
Outputs
| Output | Type | Description |
|---|---|---|
| output | bool |
Metadata
Related Nodes
Browse other nodes in the lib.mail namespace.