Per docs
An example of this is the mail action at/libs/foundation/components/form/actions/mail, which forwards details to<currentpath>.mail.html where a mail servlet sits.
We are writing custom form action and need to re-purpose how the form dynamically sends all fields and their values.
Also, in CQ is there a page/query we can run to see which exact servlet is being called by a specific extension?