Use controller for mailform snippet

Hi Jan, i am working on something similar /the same/ as you do. You can check my code here:
https://forum.getkirby.com/t/controller-for-a-snippet/19518
I too have a problem of calling the controller from my js code.
Could we perhaps exchange our code to come to a solution?
Best
overcat