In email marketing, public keys are primarily used for securing emails and ensuring the authenticity of the sender. This is achieved through cryptographic techniques like DKIM (DomainKeys Identified Mail) and S/MIME (Secure/Multipurpose Internet Mail Extensions).