I tried to make an Finisher like in your documentation:
https://docs.typo3.org/p/in2code/powermail/13.0/en-us/ForDevelopers/AddFinisherClasses.html#extended-example
but it does not work.
I get the error message:
(1/1) Symfony\Component\DependencyInjection\Exception\RuntimeException
Cannot autowire service "Xxx\Yyyl\Finisher\AfterSaveFinisher": argument "$mail" of method "In2code\Powermail\Finisher\AbstractFinisher::__construct()" needs an instance of "In2code\Powermail\Domain\Model\Mail" but this type has been excluded in "Configuration/Services.yaml".
I need the mail-uid after a submit, but it does not work with a finisher.
Is there another way?
Or can you fix this issue?