Fix typo forcing empty calls to modError::addError() for all sent emails

Typo introduced in commit a1ae0917b08b64b8bf735146366d52fe0933dcf4