Add some validations when Email configuration is empty