Data encryption works by using algorithms to transform readable data into an encrypted format. For email marketing, this can involve encrypting email content and attachments, as well as ensuring secure transmission through protocols like TLS (Transport Layer Security). The recipient must have the decryption key or a secure method of decryption to read the content.