const sequelize = new Sequelize(
config.database,
config.email,
config.password,
config
);
There is no error.
But when I add only config.user I get an error

You need to add dialect to the config,
also see: Sequelize Manual - Dialects