## -*- coding: utf-8; mode: python; -*-
# -*- coding: utf-8; -*-
"""
Custom email profiles
"""

from rattail.mail import Email

# bring in some common config from rattail
from rattail.emails import (ImporterEmail,
                            # ProblemReportEmail,
                            upgrade_failure,
                            upgrade_success,
                            user_feedback)


% if integrates_catapult:
class rattail_import_catapult_updates(ImporterEmail):
    """
    Sent when a Catapult -> ${name} import involves data changes.
    """
    handler_spec = 'rattail_onager.importing.catapult:FromCatapultToRattail'
    default_subject = "Data changes for Catapult -> ${name}"
    abstract = False
% endif
