No, no no. You should NOT use setup mail step in the server action. Remove it from the server action.
Once you define the mailer globally, you just need a SEND MAIL step in the server action, referencing to the global mailer.
After you do that, please set this option back to 1: