You may wish to include an option on your website for users to subscribe to receive notifications when new content is posted. For example, if you respond to an article you may want to receive notifications when other users also respond to that same article. Staticman can enable this!
Staticman supports integration with Mailgun for sending email notifications. Mailgun provides a 3 month trial and then provides a very reasonable usage-based pricing plan.
- Create a Mailgun account and follow the steps to set up the account with your domain. Note the domain you use as well as your
Private API key
- Use the Staticman encrypt endpoint and add both the domain and private api key to the site config and enable notifications
- Set up a webhook so Staticman knows when to trigger a notification
- Add a checkbox to your form submission to allow users to opt into subscribing