workflows.services.executors.email¶
Email step executor.
Module Contents¶
- class workflows.services.executors.email.EmailParts[source]¶
Internal container for resolved email components.
- class workflows.services.executors.email.EmailExecutor[source]¶
Bases:
workflows.services.executors.factory.AbstractStepExecutorSend an email using either a named template or a simple subject/body.
- do_execute(instance, _signal)[source]¶
Execute the email step.
- Parameters:
instance (workflows.models.WorkflowInstance) – Workflow instance being executed.
_signal (str | None) – Optional signal (unused for email steps).
- Returns:
ExecutorResult describing the outcome of sending the email.
- Return type: