public static function shouldSendEmail($email) { if (empty($email)) { return true; } $exists = blockedEmailPeer::retrieveByPK($email); return !$exists; }