[%-
USE ExpVar;
USE Uapi;
SET prefix = CPANEL.CPVAR.dprefix,
user = CPANEL.user,
auth_user = CPANEL.authuser,
is_archive_user = ExpVar.expand('$isarchiveuser'),
is_default_cpanel_account = user == auth_user,
is_email_account = !is_default_cpanel_account && !is_archive_user;
# Use ExpVar here instead of UAPI as its at least 1000% faster
SET ccs_enabled = ExpVar.expand('$hasccs') ? 1 : 0;
SET cpdavd_enabled = ExpVar.expand('$hascpdavd') ? 1 : 0;
SET solr_enabled = ExpVar.expand('$hasdovecotsolr') ? 1 : 0;
IF !is_archive_user && CPANEL.feature('lists');
SET delegated_mailman = execute( 'Email', 'has_delegated_mailman_lists', {delegate=auth_user}).data;
END;
SET sitemap = execute( 'Branding', 'get_information_for_applications', {}).data;
-%]
[% locale.maketext('Manage Your Inbox') %]
[% locale.maketext('Edit Your Settings') %]
[% locale.maketext('Fight Spam') %]
[% locale.maketext('Other Webmail Features') %]