{% requireEdition CraftPro %}
{% requireAdmin %}

{% extends "_layouts/cp" %}
{% set title = "Email Settings"|t('app') %}

{% set navItems = {
    settings: { label: "Settings"|t('app'), url: url('settings/email') },
    messages: { label: "System Messages"|t('app'), url: url('settings/email/messages') }
} %}

{% set docTitle = navItems[selectedNavItem].label~' - '~title %}

{% block sidebar %}
    <nav>
        {% include "_includes/nav" with { items: navItems, selectedItem: selectedNavItem } only %}
    </nav>
{% endblock %}
