Users are receiving emails even when everything is set up to not send email notifications

Here’s the rails way:

UserOption.all.update_all(email_messages_level: 2, email_level: 2, email_previous_replies: 2)