Customizing template content for privileged users

Folks:

Does anyone know if it is possible to customize email template content
based on the rights of the person being sent the email. For example, if
the requestor is also a privileged user I’d like to be able to do
something like this in the template:

if (user_is_privileged) {
include_special_content;
}

Rather than setting up a new template entirely. Is this possible or am
I barking up the wrong tree?

Thanks in advance,

Matt
Matt Adams
Development & Network Services, Cypress Interactive
http://cypressinteractive.com, http://edsuite.com

Folks:

Does anyone know if it is possible to customize email template content
based on the rights of the person being sent the email. For example, if
the requestor is also a privileged user I’d like to be able to do
something like this in the template:

if (user_is_privileged) {
include_special_content;
}

Rather than setting up a new template entirely. Is this possible or am
I barking up the wrong tree?

You want to get the requestor user objects and then check
if ($user->Privileged) { }

-kevin