    DROP TABLE IF EXISTS `[db_prefix]handlers`;

    SET @iHandlerId:= (SELECT `id` FROM `sys_alerts_handlers` WHERE `name`='bx_pommo_profiles_activity' LIMIT 1);
    DELETE FROM `sys_alerts_handlers` WHERE `id` = @iHandlerId;
    DELETE FROM `sys_alerts` WHERE `handler_id`= @iHandlerId;

    DELETE FROM `sys_menu_admin` WHERE `name`='Pommo' AND `title`='Pommo Mass Mailer';

    DROP TABLE IF EXISTS `pommo_config`;
    DROP TABLE IF EXISTS `pommo_fields`;
    DROP TABLE IF EXISTS `pommo_groups`;
    DROP TABLE IF EXISTS `pommo_group_rules`;
    DROP TABLE IF EXISTS `pommo_mailings`;
    DROP TABLE IF EXISTS `pommo_mailing_current`;
    DROP TABLE IF EXISTS `pommo_mailing_notices`;
    DROP TABLE IF EXISTS `pommo_queue`;
    DROP TABLE IF EXISTS `pommo_scratch`;
    DROP TABLE IF EXISTS `pommo_subscribers`;
    DROP TABLE IF EXISTS `pommo_subscriber_data`;
    DROP TABLE IF EXISTS `pommo_subscriber_pending`;
    DROP TABLE IF EXISTS `pommo_templates`;
    DROP TABLE IF EXISTS `pommo_updates`;
