According to SRP, each object should have only one responsibility, and that responsibility should be encapsulated within it. The User class violates this principle by mixing user logic with email sending.
In modern applications, data security is a top priority, especially when sensitive information may be copied or transferred to external applications. By preventing certain actions like "cut," "copy," and "paste" on text fields within iOS apps, we can safeguard text data, ensuring it remains within a trusted group of applications.