Nextcloud (snap version) - cannot turn on email notification (Activity app)

On my NC instance (snap version), I cannot turn on email notification in Activity app.
Same issue as Enable notification emails (Activity app) - not work

But I installed NC with snap. And I don’t see how to update the DB., to set “enable_email” value to “yes”.

Is there a way with nextcloud.occ command ?

Best regards.

I answer myself


show databases;

use nextcloud;

select configvalue from oc_appconfig where configkey=“enable_email”;

update oc_appconfig set configvalue = “yes” where configkey = “enable_email”;