The unsubscribe buttons in email clients are powered by a header that the email includes. Google and Yahoo just started requiring these for all bulk senders (they were previously a best practice only). It doesn’t rely on what the manual preferences page looks like.