Skip to content

Plugins

Strapi offers a functional ecosystem to install and even develop plugins. Plugins are even part of the standard Admin Panel functionality (permissions, content-manager). We make only limited use of plugins mainly for email purposes:

  1. Mailgun: To enable Strapi to send out emails in general, a mail plugin has to be configured from a number of options. We decided for the Mailgun service here.

    TIP

    There is also section for Email configuration in the Admin Panel settings itself. Sending out test emails is possible there as well.

  2. Email Designer 5: The Email Designer 5 allows the creation of complex Email templates using data from the backend through an easy to use Editor. The frontend of Email Designer 5 can be reached through the Admin Panel Menu (envelope icon). Email templates are identified by a templateReferenceId, and through this can be easily integrated using sendTemplatedEmail:

    js
    strapi.plugin('email-designer-5').service('email').sendTemplatedEmail(
      {
        to: recipient,
        attachment: attachment
      },
      {
        templateReferenceId: 103,
      },
      {
        name: nextRun[0].hare.alias,
        password: haresPwd,
        link: 'https://klharriettes.org/signinsheet'
      }
    );
  3. strapi-v5-plugin-populate-deep: The plugin allows to deeply populate data in Strapi queries with a new parameter pLevel as Strapi allows only the population of three levels deep as a standard. This parameter specifies the depth of population for API responses. The plugin is rarely used throughout the frontend/backend functionality (the content components of the hashers-page are so deeply nested that it has to be used to get down to pLevel=4).

Released under the MIT License.