<%! from django.core.urlresolvers import reverse %>
<%! from django.utils.translation import ugettext as _ %>
<%! from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %>
<%! from edxmako.shortcuts import render_to_string, marketing_link %>
${_("This is to confirm that you changed the e-mail associated with "
  "{platform_name} from {old_email} to {new_email}. If you "
  "did not make this request, please contact us immediately. Contact "
  "information is listed at:").format(
      platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME),
      old_email=old_email,
      new_email=new_email
  )
}

% if settings.FEATURES['ENABLE_MKTG_SITE']:
    ${marketing_link('CONTACT')}
% else:
    % if is_secure:
        https://${ site }${reverse('contact')}
    % else:
        http://${ site }${reverse('contact')}
    % endif
% endif

${_("We keep a log of old e-mails, so if this request was unintentional, we can investigate.")}
