workflows.services.executors.email ================================== .. py:module:: workflows.services.executors.email .. autoapi-nested-parse:: Email step executor. Module Contents --------------- .. py:class:: EmailParts Internal container for resolved email components. .. py:attribute:: to :type: tuple[str, Ellipsis] .. py:attribute:: cc :type: tuple[str, Ellipsis] .. py:attribute:: bcc :type: tuple[str, Ellipsis] .. py:attribute:: from_email :type: str | None .. py:attribute:: template_ctx :type: dict[str, Any] .. py:attribute:: dj :type: Any .. py:class:: EmailExecutor Bases: :py:obj:`workflows.services.executors.factory.AbstractStepExecutor` Send an email using either a named template or a simple subject/body. .. py:method:: do_execute(instance, _signal) Execute the email step. :param instance: Workflow instance being executed. :param _signal: Optional signal (unused for email steps). :returns: ExecutorResult describing the outcome of sending the email.