The site setting is called invalidate inactive admin email after days and by default is set to 365 days.
invalidate inactive admin email after days