instant_emails.naml

<override_macro name="instant_emails" requires="instant_mail,node_page">
    <n.subscription_list.loop.>
        <n.if.current_subscription.user.should_get_instant_mail>
            <then>
                <n.log.>Sending email to: <n.current_subscription.user.user_email/></n.log.>
                <n.current_subscription.send_instant_email />
            </then>
        </n.if.current_subscription.user.should_get_instant_mail>
    </n.subscription_list.loop.>
</override_macro>