Fixed sending of e-mail notifications when there is a new document waiting for validation