<?php
$app = new OCA\CTAutoMailHooks\AppInfo\Application();
$app->getContainer()->query('UserHooks')->register();