code: function generateContent(result) {
              return mail.utils.generateContent({template: 'test'}).then((content) => {
                  const payload = {
                      mail: [{
                          message: {
                              to: result.get('email'),
                              subject: common.i18n.t('common.api.mail.testGhostEmail'),
                              html: content.html,
                              text: content.text
                          }
                      }]
                  };
  
                  return payload;
              });
          }
docs: ### Generate content