Made FreeMarker config for EmailFactoryImpl optional.