DKIM cryptographically signs each outgoing message; the receiver uses a public key published in DNS to confirm that the content has not changed.
DKIM (DomainKeys Identified Mail) is a standard defined in RFC 6376 that adds a cryptographic signature to email messages [1]. The signature is carried in the DKIM-Signature header and covers the body and selected headers. The domain publishes the public key in a DNS record under a selector, and the receiver uses it to verify the signature.