Move emailWarning to another place, because it was triggered by ajax counter