Summary emails, new users and SSO

That seems to be the cause of the problem. The code is checking this:

.where("COALESCE(last_seen_at, '2010-01-01') >= CURRENT_TIMESTAMP - ('1 DAY'::INTERVAL * #{SiteSetting.suppress_digest_email_after_days})")

SInce last_seen_at will return nil for the new user, the code will check to see if ‘2010-01-01’ is greater than 3650 days ago before sending the email. Increasing the value of that setting should solve the issue for you. The risk with setting that value to a large number of days is that you may be sending the summary email to users who have no interest in the site.

3 Likes