Custom widget send email
I have searched the docs and community threads without any result.
Duda has a contact form. This generates an email, which is intended for site admins, and not customers.
I was wondering if it is possible to send email with message body and recepients generated from a custom widget, by posting the proper strings from JS in the custom widget and into the built in email-sender in Duda.
I could of course use a smtpjs or similiar, but then I need to enter email address and pwd in the JS.. best to avoid that.
So I'm hoping more of a kind of api which lets me have full control over the emails recepients, subject and body, being sent from the same address as the regular contact form. I can output the mail details in a json string from the widget, but need some place to post it.