With no encryption, much like for postcards, email activity is plainly visible by any occasional eavesdropper.
Email encryption enables privacy to be safeguarded by encrypting the mail sessions, the body of the message, or both. Without it, anyone with network access and the right tools can monitor email and obtain login passwords. Examples of concern include the government
censorship and
surveillance and fellow wireless network users such as at an
Internet cafe. All relevant email protocols have an option to encrypt the whole session, to prevent a user's
name and
password from being
sniffed. They are strongly suggested for nomadic users and whenever the
Internet access provider is not trusted. When sending mail, users can only control encryption at the first hop from a client to its configured
outgoing mail server. At any further hop, messages may be transmitted with or without encryption, depending solely on the general configuration of the transmitting server and the capabilities of the receiving one. Encrypted mail sessions deliver messages in their original format, i.e. plain text or encrypted body, on a user's local mailbox and on the destination server's. The latter server is operated by an
email hosting service provider, possibly a different entity than the Internet
access provider currently at hand. Encrypting an email retrieval session with, e.g., SSL, can protect both parts (authentication, and message transfer) of the session. Alternatively, if the user has
SSH access to their mail server, they can use SSH
port forwarding to create an encrypted tunnel over which to retrieve their emails.
Encryption of the message body There are two main models for managing cryptographic keys.
S/MIME employs a model based on a trusted
certificate authority (CA) that signs users' public keys.
OpenPGP employs a somewhat more flexible
web of trust mechanism that allows users to sign one another's public keys. OpenPGP is also more flexible in the format of the messages, in that it still supports plain message encryption and signing as they used to work before
MIME standardization. In both cases, only the message body is encrypted. Header fields, including originator, recipients, and often subject, remain in plain text. ==Webmail==