So it looks like CleanUpEmailLogs is a new Job and on at least my instance is failing at there are to many entries to nuke without the 4 gig box running out of memory. I am using the below to clear out old entries 3 days at a time.
1000.downto(SiteSetting.delete_email_logs_after_days)
.select.with_index { |x, idx| idx % 3 == 0 }
.each do |n|
threshold = n.days.ago
puts threshold
EmailLog.where(reply_key: nil).where("created_at < ?", threshold).destroy_all ;0
end
;0
stops the return of destroy_all from being echoed to the terminal.