The CAN-SPAM Act is a federal law that sets the rules for commercial email and commercial messages, including penalties for spammers who violate the law. It requires that commercial emails include a way for recipients to unsubscribe from future messages and that the sender provides accurate header and subject lines. The law also prohibits the use of deceptive subject lines and false or misleading content in commercial emails.