Email

Is Email Encrypted? TLS, PGP and S/MIME

Find out who can read your email at each step, what TLS protects, and when end-to-end encryption with PGP or S/MIME is worth the effort.

Key takeaways

  • TLS protects email on each network hop, but the servers at either end of a hop handle the message in readable form.
  • Delivery between providers often falls back to weaker protection unless the receiving domain publishes a stricter policy.
  • OpenPGP and S/MIME encrypt message content end to end, while headers such as sender, recipient and date stay visible.
  • End-to-end email needs both sides to manage keys, so a secure messaging app or file-sharing portal is often the easier choice.

Most email today is encrypted while it travels between your device and your provider, and usually between providers too, using TLS. Your provider and the recipient's provider can still read the stored message. Only end-to-end encryption, such as OpenPGP or S/MIME, keeps the content unreadable to everyone except the people holding the right private keys.

So the useful answer depends on what you are worried about. Someone snooping on public Wi-Fi is handled well by ordinary settings. A mail server operator, an intruder with your password or a legal request to your provider is a different matter.

The path a message takes

An email passes through several stages. Your app submits it to your provider's server. That server finds the recipient's server through DNS and relays it, sometimes through filtering gateways. Finally the recipient's app downloads or displays it. How email works follows the route in detail.

Where a message is protected with TLS alone
1 Your app to your provider Encrypted in transit when the connection uses TLS. 2 At your provider Readable by the system, even if disks are encrypted. 3 Provider to provider Usually TLS, sometimes only if both ends cooperate. 4 At the recipient's provider Readable again for filtering, search and storage. 5 Recipient's device Encrypted on the way down; readable once opened. Your app to your provider Encrypted in transit when the connection uses TLS. 1 At your provider Readable by the system, even if disks are encrypted. 2 Provider to provider Usually TLS, sometimes only if both ends cooperate. 3 At the recipient's provider Readable again for filtering, search and storage. 4 Recipient's device Encrypted on the way down; readable once opened. 5

Each arrow can be protected while every box can still see inside.

What TLS does for email

TLS, Transport Layer Security, encrypts a connection and lets one side prove its identity with a certificate. It is the same protocol family that protects websites, covered in HTTPS and TLS explained.

Between your mail app and your provider, TLS is now the normal expectation. Apps connect to mail submission on port 587, upgraded with the STARTTLS command, or on port 465, which starts encrypted immediately. IMAP over TLS commonly uses port 993. RFC 8314 recommends encrypted connections for these client services. Webmail uses HTTPS.

Between mail servers, relaying happens on port 25, and encryption is typically opportunistic. The sending server asks whether the other side supports STARTTLS, defined for SMTP in RFC 3207, and uses it if offered. If it is not offered, many servers send the message anyway. Opportunistic encryption also often skips strict certificate checks, so it stops passive eavesdropping more reliably than an active attacker who tampers with the connection.

Two standards tighten this:

  • MTA-STS (RFC 8461) lets a domain publish a policy over HTTPS saying that senders should require a valid certificate and TLS.
  • DANE for SMTP (RFC 7672) uses DNSSEC-signed records to state which certificates or keys are acceptable.

A companion standard, SMTP TLS reporting (RFC 8460), lets domain owners receive reports about connection failures. If you manage a domain, these are worth enabling after testing.

Encryption at rest is a different thing

Providers commonly encrypt stored data on their disks. That protects against someone walking off with hardware. It does not stop the service itself from opening your mail, since it holds the keys and needs readable text to filter spam, build search indexes and show you the inbox. An intruder who signs in as you sees exactly what you see, which is why account security matters as much as encryption.

Some providers offer mailboxes where stored mail is encrypted with keys derived from your password, so the company cannot routinely read it. Mail arriving from outside still enters through SMTP in the normal way before it is encrypted for storage. Check what a service claims precisely, and what happens if you forget your password.

End-to-end encryption with OpenPGP and S/MIME

End-to-end encryption scrambles the content on the sender's device so that only the recipient's private key can open it. Both major email systems rely on public key cryptography: you share a public key freely and guard the matching private key.

Both also offer signing, which proves the message came from the holder of a particular private key and was not altered. Signing and encryption are separate choices.

OpenPGP and S/MIME side by side
OpenPGP Open standard, with tools such as GnuPG You can generate keys yourself Trust comes from verifying fingerprints Popular with developers and privacy users Often needs an add-on in mail apps S/MIME Open standard built on X.509 certificates Certificates are issued by an authority Trust comes from the certificate chain Common in government and large organizations Built into many business mail clients VS OpenPGP Open standard, with tools such as GnuPG You can generate keys yourself Trust comes from verifying fingerprints Popular with developers and privacy users Often needs an add-on in mail apps S/MIME Open standard built on X.509 certificates Certificates are issued by an authority Trust comes from the certificate chain Common in government and large organizations Built into many business mail clients

OpenPGP is the standard that grew out of the original PGP program; its current specification is RFC 9580, which succeeded RFC 4880. You verify that a key really belongs to someone by comparing its fingerprint through another channel, such as in person or on a call you trust.

S/MIME, specified in version 4.0 by RFC 8551, uses certificates much like websites do. An organization or certificate authority vouches for the link between an address and a key. Companies can distribute certificates automatically, which hides much of the complexity from staff.

The two are not compatible. You and your correspondent need to use the same one.

What stays visible

Even with end-to-end encryption, delivery requires readable routing information. Sender, recipients, date, message size and the servers involved remain visible. The subject line is often left unprotected unless your software supports protected headers and the recipient's does too. Treat the subject as public.

Other limits are practical:

  • Server-side search cannot look inside encrypted bodies.
  • Provider spam and malware scanning cannot inspect them, so your device has to.
  • If you lose the private key, old messages are gone. Back it up securely.
  • A recipient can still forward, copy or screenshot the decrypted text.
  • Malware on either device can read mail after it is opened.
  • Reply with a quoted message, unencrypted, and the secret is out.

Provider "confidential" and portal features

Many business and consumer services offer buttons labeled confidential, protected or secure. Some set expiry dates and disable forwarding in their own interface. Others email a link, and the recipient reads the content on a web portal after verifying identity.

These features can be useful, but they usually leave the provider able to read the content, and they cannot stop a photograph of the screen. Read the documentation to learn who holds the keys. A portal also trains recipients to click links in order to read messages, which phishers imitate, so tell recipients what to expect.

Ask the recipient first, too. Sending an encrypted message to someone who has no way to open it wastes both your time, and an unexpected attachment named for a certificate or signature can confuse people or trip their filters. A short plain note explaining what is coming, with no sensitive detail in it, avoids most of that.

Choosing the right level

Situation Reasonable approach
Everyday mail Provider with TLS, strong sign-in
Sending a sensitive document once Encrypted file or secure sharing link, key sent separately
Ongoing sensitive work inside an organization S/MIME or the organization's message encryption
Technical or privacy-focused correspondents OpenPGP
Casual private conversation An end-to-end encrypted messaging app
Regulated data Follow your organization's policy and legal advice

If you encrypt a file before attaching it, send the password by a different route, such as a phone call. A password in the next email protects almost nothing. For a short block of text, a text encryptor illustrates the idea, though established, audited tools are the right choice for anything serious.

What setting up end-to-end email involves

For S/MIME, you obtain a certificate for your address, often from your employer or a certificate authority, and install it with its private key in your mail app and on each device where you read mail. Sending a signed message usually shares your public certificate with the recipient, whose app can then encrypt replies to you.

For OpenPGP, you generate a key pair in compatible software, publish or send the public key, and verify your correspondent's fingerprint before trusting theirs. Protect the private key with a strong passphrase, set an expiry date you can extend, and create a revocation certificate in case the key is lost or stolen.

Both systems need ongoing care. Certificates expire. New devices need the key. Old keys must be kept to read old mail, even after you stop using them for new messages. A team that skips this planning tends to discover it when someone replaces a laptop and cannot open a year of correspondence.

Try the whole exchange with one willing correspondent before relying on it: send, receive, reply and read on every device you use. Agree on what you will do if a message cannot be decrypted, and never settle it by pasting the private key or passphrase into email.

How to check what happened to a message

Open the raw headers of a received message. Received lines often note the TLS version used on a hop, with wording that varies by server. Some webmail services show a lock or warning icon for the connection from the sender. These indicators describe transport only, and an upstream hop you cannot see may have behaved differently. Reading email headers shows how to follow the chain.

Common questions

Does a VPN encrypt my email?

It encrypts traffic between your device and the VPN server. Your provider still reads the message, and delivery onward is unaffected.

Is a signed message also encrypted?

Not necessarily. A signature proves origin and integrity. The text can remain perfectly readable unless you also encrypt it.

Do encrypted emails avoid spoofing?

Signatures help recipients who check them. Domain-level protections such as DMARC work for everyone without any action by readers.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Email →

Latest news on this topic