When an email is sent, a checksum value is generated based on the content of the email. This value is then sent along with the email. Upon receipt, the email client or server recalculates the checksum value based on the received content. If the recalculated value matches the original checksum, it confirms that the email has not been tampered with.