That looks correct, I'm afraid I am stumped, I can see no reason why auto-sending should not work for you. If you want to investigate further you will need to run calibre from source as described here:
https://manual.calibre-ebook.com/develop.html
If you are willing to do that, let me know and I will tell you where to add more debugging code to see why auto sending is not working.