[fixed] a bug where servlet would crash during initialize when configuration for email was not provided beforehand