OpenPGP works by using a pair of keys: a public key and a private key. The public key is used to encrypt the data, and the private key is used to decrypt it. In the context of email marketing, the sender would encrypt the email using the recipient's public key, and the recipient would decrypt it using their private key.