משתמשים מקבלים מיילים גם כאשר הכל מוגדר כך שלא יישלחו התראות בדוא"ל

Just in case anyone needs this. I don’t know anything about ruby and seems that old topics in this forum are outdated.

Currently, the psql query to properly reset those option for every single user is:

UPDATE user_options SET email_messages_level = 2, email_level = 2, email_previous_replies = 2;