-- used php notation
-- added check for civimail, since MTE does not support bulk email