added new checking logic to email newsletters