agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.4k stars 524 forks source link

Sending custom generated emails to any user by button click #1427

Open vector-man opened 3 years ago

vector-man commented 3 years ago

I need the ability in the backend to send a generated email to any user by pressing a button (e.g. "congrats [user name] you've won a [prize name] click here to redeem: [url of prize] ") Is there a way to do that without digging into editing the code of cockpit? I know I could create a separate api to send the email with a webhook, but I'm wondering if you can add buttons to the backend.