{
  "types": [
    {
      "name": "Hook",
      "entryClonable": true,
      "fields": [
        {
          "name": "name",
          "required": true,
          "clone": "${name} (copy)"
        },
        {
          "name": "hook",
          "required": true,
          "enum": [
            "appready",
            "typeCreated",
            "typeUpdated",
            "typeDeleted",
            "typeLoaded",
            "beforeTypeLoaded",
            "typeBeforeUpdate",
            "typeCloned",
            "index",
            "tracking",
            "cmsCustomResolver",
            "login",
            "newPassword",
            "beforeSignUp",
            "beforeNewsletterSubscribe",
            "NewUserCreated",
            "Frontend",
            "FrontendAdmin",
            "OnMail"
          ]
        },
        {
          "name": "script",
          "uitype": "jseditor"
        },
        {
          "name": "execfilter",
          "label": "Execution filter"
        },
        {
          "name": "active",
          "type": "Boolean"
        }
      ]
    }
  ]
}

{
  "types": [
    {
      "name": "Hook",
      "entryClonable": true,
      "fields": [
        {
          "name": "name",
          "required": true,
          "clone": "${name} (copy)"
        },
        {
          "name": "hook",
          "required": true,
          "enum": [
            "appready",
            "typeCreated",
            "typeUpdated",
            "typeDeleted",
            "typeLoaded",
            "beforeTypeLoaded",
            "typeBeforeUpdate",
            "typeCloned",
            "index",
            "tracking",
            "cmsCustomResolver",
            "login",
            "newPassword",
            "beforeSignUp",
            "beforeNewsletterSubscribe",
            "NewUserCreated",
            "Frontend",
            "FrontendAdmin",
            "OnMail",
            "beforeMailSend"
          ]
        },
        {
          "name": "script",
          "uitype": "jseditor"
        },
        {
          "name": "execfilter",
          "label": "Execution filter"
        },
        {
          "name": "active",
          "type": "Boolean"
        }
      ]
    }
  ]
}

Add beforeMailSend to hook api
Add beforeMailSend to hook api

Signed-off-by: Simon Schärer <2e3aaac8c4fde4009ade242db684ede8e4f5ca27@gmx.net>
