Trash bin GitHub logo Information Right arrow Staticman title Staticman

Home / Documentation /


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.

  1. 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
  2. Use the Staticman encrypt endpoint and add both the domain and private api key to the site config and enable notifications
  3. Set up a webhook so Staticman knows when to trigger a notification
  4. Add a checkbox to your form submission to allow users to opt into subscribing
<input type="checkbox" name="options[subscribe]" value="email">