Documents on emails settings?

Go to settings and search for “digest.”

The one that you probably want has a confusing name: delete digest email after days, described as “Suppress summary emails for users not seen on the site for more than (n) days.” The default is 365.