Esackbauer, thank you for the suggestion, I will study the best way.
ETNyx, I tried through ChatGPT, but it didn’t work and ended up messing up other settings.
I also did a test outside of Mailcow, using Gmail to perform the test and using Google Script, but it was functional, because if I set the trigger every minute, Google blocks it. I performed the same implementation using Gmail and Python, and that worked better.
But I wanted to use Mailcow to do this.