Email security

What Is Email Encryption? How TLS, S/MIME and PGP Protect Your Mail

Most email still travels like a postcard. Here is how encryption turns it into a sealed letter, which method fits your situation, and how to switch it on.

Cysoro Security TeamPublished · 8 min read
EMAIL SECURITYEmailencryptionTLS, S/MIME and PGP — explained
Quick answer

Email encryption scrambles a message so only the intended recipient can read it. TLS encrypts the connection between mail servers while a message travels, while S/MIME and PGP encrypt the message itself end to end, so it stays unreadable on every server it passes through. Which one you need depends on whether you must protect mail in transit only, or protect it at rest and prove who sent it.

Key takeaways

  • TLS protects email while it travels between servers, but the message can sit readable on the receiving server afterwards.
  • S/MIME and PGP encrypt the message itself, so only the recipient with the right key or certificate can open it.
  • Encryption does not hide metadata: sender, recipient, subject line and timestamps stay visible.

Email was designed in the early 1980s to move messages, not to keep them secret. By default, a message travels across the internet like a postcard: anyone handling it along the way can read it. Email encryption changes that, turning the postcard into a sealed letter that only the intended recipient can open.

What is email encryption?

Email encryption is the process of scrambling a message so only the intended recipient can read it. The readable text becomes ciphertext, a string of characters that looks random to anyone without the right key.

It exists because the Simple Mail Transfer Protocol (SMTP), the foundation of email delivery, was designed to transmit messages in plain text. Every server that handles a message, every network it crosses, and anyone able to intercept it can read the contents unless encryption is applied.

Encryption serves three goals. Confidentiality keeps the content private. Authenticity proves the sender is who they claim to be. Integrity shows the message was not altered on the way. A signed message proves who sent it; an encrypted message keeps it private; many setups do both at once.

How does email encryption work?

Email encryption uses public-key cryptography. Each person has a pair of mathematically linked keys: a public key anyone can use to encrypt, and a private key only the recipient holds to decrypt.

In practice, systems use hybrid encryption. A fast symmetric key, usually AES-256, encrypts the message body. That small key is then locked with the recipient's public key. The recipient unlocks the small key with their private key, then uses it to decrypt the message. This keeps the process fast even for long messages and attachments.

Digital signatures work in reverse. The sender signs the message with their private key, and anyone can verify it with the sender's public key. If even one character changes in transit, the signature check fails.

How an encrypted email travels1. Sender writesplain message+ attachmentin the mail app2. Message is lockedAES key scrambles the body;recipient public keylocks the AES key3. Recipient opensprivate key unlocksthe AES key, thenthe messageServers in between see only ciphertextSubject, sender, recipient and time stay visible — encryption does not hide metadata.
Hybrid encryption: a fast symmetric key locks the message, and the recipient's public key locks that key. Illustration by Cysoro.

What are the types of email encryption?

The three main types are TLS, S/MIME and PGP. TLS protects the connection; S/MIME and PGP protect the message itself. They solve different problems, and many organizations use TLS plus one of the other two.

MethodWhat it protectsWho can read the messageTypical use
TLS / STARTTLSThe connection between mail serversBoth mail providers, once deliveredEveryday mail, automatic
S/MIMEThe message itself, end to endOnly the recipient with the certificateBusiness, legal, healthcare
PGP / OpenPGPThe message itself, end to endOnly the recipient with the private keyIndividuals, journalists, developers
Portal encryption (OME)The message behind a web portalRecipient after sign-in or passcodeMicrosoft 365 external mail
Gmail confidential modeAccess controls, not the contentGoogle and the recipientExpiry and forwarding limits

TLS: encryption in transit

Transport Layer Security (TLS) encrypts the connection between mail servers. When both servers support it, the message is protected while it moves. Most major providers now use TLS by default, and Gmail shows a lock icon for messages sent over TLS.

TLS has two limits. If either server does not support it, the message can fall back to plain text with no warning. And once the message arrives, TLS releases its hold: the message sits on the receiving server in whatever state that provider stores it. TLS is essential, but it is not end-to-end encryption.

S/MIME: certificates and business email

S/MIME (Secure/Multipurpose Internet Mail Extensions) is defined by RFC 8551. It uses X.509 certificates issued by a certificate authority, the same trust model as the web. The certificate binds an email address to a public key, so the recipient can trust that the key belongs to that sender.

S/MIME is built into Outlook, Apple Mail and Google Workspace, which is why it dominates corporate and government mail. Both sender and recipient need certificates, and the sender needs the recipient's public certificate before sending an encrypted message. That setup cost is its main drawback.

PGP: no central authority needed

Pretty Good Privacy (PGP), standardized as OpenPGP, also encrypts and signs messages, but it uses a decentralized web of trust instead of a certificate authority. Users sign each other's keys directly, so no central body is required. It took hold with journalists, activists and developers for that reason.

PGP needs software on both ends, such as GnuPG or a browser extension like Mailvelope, and both sides must exchange public keys first. That friction is why it is less common in ordinary business email, even though the cryptography is sound.

Microsoft Purview Message Encryption (OME)

Microsoft Purview Message Encryption, formerly Office 365 Message Encryption, is the portal-based option in Microsoft 365. The sender clicks Encrypt in Outlook, and the recipient opens the message through a web portal by signing in or using a one-time passcode. It works even when the recipient uses Gmail or Yahoo, which makes it practical for external mail.

Why does email encryption matter?

Email carries contracts, invoices, medical results, passwords and board papers. A single intercepted message can expose a deal, a patient or a bank account. Encryption limits the damage when a server is breached or a message is intercepted, because the stolen content is unreadable without the keys.

It also matters for compliance. Healthcare, finance and legal teams routinely send sensitive data by email, and regulators expect encryption for that data. Encryption alone does not make an organization compliant, but sending sensitive information in plain text is hard to defend.

Finally, signed email helps against impersonation. A valid S/MIME signature proves the message came from the holder of that certificate, which makes spoofing harder. It does not replace DMARC, SPF and DKIM, but it adds a layer those checks do not provide. Our guide to what DMARC is explains the domain-level side of that protection.

What does email encryption not protect?

Encryption has clear limits, and knowing them stops false confidence. No method protects metadata: sender, recipient, subject line and timestamps remain visible even when the body is fully encrypted.

Encryption does not stop phishing. An attacker can send a perfectly encrypted message from their own account, and a signed message only proves who sent it, not that the sender is honest. CISA's joint phishing guidance stresses that people, not just cryptography, are the target.

It does not protect a message after it is decrypted. If the recipient's account is hacked, their device is unlocked, or they forward the message, the content is exposed. And if a private key is lost, old encrypted messages may become unreadable forever, so key backup and recovery need a plan.

How do I encrypt an email?

The steps depend on your mail service. Start with the option your provider already offers before adding third-party tools.

Encrypt email in Outlook

In Outlook, open a new message, go to the Options tab and click Encrypt, then choose Encrypt-Only or Do Not Forward. For S/MIME, you first need a certificate installed: go to File, Options, Trust Center, Trust Center Settings, then Email Security, and import your digital ID. Your recipient needs your public certificate before you can send them an encrypted message.

Encrypt email in Gmail

Personal Gmail does not support S/MIME. For a personal account, use confidential mode: click Compose, then the lock-and-clock icon, set an expiry date and optional passcode. Remember this is access control, not end-to-end encryption. Google Workspace accounts can use hosted S/MIME when an administrator enables it and installs certificates for users.

Encrypt email on iPhone and Apple Mail

Apple Mail supports S/MIME. Install the certificate file from your administrator or certificate authority, then go to Settings, Mail, Accounts, select the account and open Advanced Settings to enable S/MIME. A lock icon in the message shows the encryption state.

Encrypt email with PGP

Install GnuPG or a browser extension such as Mailvelope, generate a key pair, and publish your public key. Exchange public keys with the people you mail, then encrypt messages to their public key. Keep your private key backed up offline and protected with a strong passphrase.

How do I choose the right method?

Choose by who you mail and what you must prove. If you mail customers on many different services, portal encryption such as Microsoft Purview is the most practical, because recipients need no setup. If you mail colleagues inside one organization, S/MIME is usually the right fit.

If you need privacy from the mail provider itself, only true end-to-end encryption with S/MIME or PGP qualifies. TLS and portal encryption still leave the message readable by the provider. If you only need to stop forwarding or set an expiry date, Gmail confidential mode may be enough, as long as you understand its limits.

Which email encryption should you use?Mailing people outside your company?Yes — use portal encryption (OME)no setup needed for recipientsMailing colleagues in one business?Yes — use S/MIME certificatesbuilt into Outlook and Apple MailNeed privacy from the provider?Yes — use S/MIME or PGPonly end-to-end methods qualifyIn every case, keep TLS on: it is the baseline, not the whole answer.
Choose by audience: portal encryption for outsiders, S/MIME inside a business, PGP or S/MIME for provider-level privacy. Illustration by Cysoro.

Common mistakes with email encryption

The most common mistake is assuming TLS means a message is end-to-end encrypted. It does not. A second is putting sensitive details in the subject line, which encryption leaves visible. A third is encrypting a message and then sending the password or key in the same email thread.

Other mistakes include losing a private key with no backup, letting certificates expire without renewal, and assuming an encrypted message cannot be a phish. Encryption protects content, not judgment. If a message asks you to move money or log in, verify it through a separate channel, as our spear phishing guide explains.

Email encryption for a small business

For a small business, the practical path is to enable what you already pay for. If you use Microsoft 365, turn on Purview Message Encryption and set a mail-flow rule that encrypts messages containing sensitive words or sent outside the company. If you use Google Workspace, enable hosted S/MIME for staff who handle sensitive mail.

Write a short policy: which messages must be encrypted, who holds certificates, how keys are backed up, and what happens when someone leaves. Train staff on the one-click steps, because a control nobody uses is not a control. Check your domain's mail authentication too with the free email security score tool, since encryption and authentication protect different parts of the same problem.

The bottom line

Email encryption turns a postcard into a sealed letter. TLS is the baseline every mailbox should have, S/MIME is the practical choice inside a business, and PGP is the independent option when no central authority will do.

Start with the method your provider already offers, keep sensitive details out of subject lines, and back up your keys. You can check how well your own domain is protected in seconds with the free DMARC checker.

Frequently asked questions

What is email encryption in simple terms?

Email encryption turns a readable message into scrambled text that only the intended recipient can unlock. Anyone who intercepts it without the right key sees meaningless characters instead of your words.

Is Gmail encrypted?

Gmail encrypts messages in transit with TLS when the other mail service supports it, and encrypts stored mail on Google servers. That is not the same as end-to-end encryption: Google can still access the message, and a personal Gmail account does not support S/MIME.

What is the difference between TLS and end-to-end email encryption?

TLS encrypts the connection between mail servers, so the message is protected while it moves. End-to-end encryption with S/MIME or PGP encrypts the message itself, so it stays protected on every server and can only be opened by the recipient.

Is S/MIME or PGP better?

S/MIME fits businesses because it uses certificates from a trusted authority and is built into Outlook, Apple Mail and Google Workspace. PGP fits individuals and journalists because it needs no central authority, but both sides must exchange keys first.

Does email encryption hide the subject line?

No. With S/MIME and PGP the message body and attachments are encrypted, but the subject line, sender, recipient and timestamps usually remain visible. Avoid putting sensitive details in the subject line.

Can encrypted email be hacked?

The encryption itself is very hard to break, but attackers do not need to break it. They can steal a password, compromise an account, trick someone into forwarding a message, or read it on an unlocked device after it has been decrypted.

Do I need email encryption for HIPAA or GDPR?

Encryption is a standard safeguard for protected health information and personal data, and regulators expect it for sensitive mail. It is one control among several: access controls, training and proper handling matter just as much.

What is Gmail confidential mode?

Confidential mode lets you set an expiry date, block forwarding and downloading, and require a passcode. It controls what the recipient can do with a message, but it is not true end-to-end encryption because Google can still read the message.

Sources

  1. IETF — RFC 8551, S/MIME Version 4.0 Message Specification
  2. Kaspersky — Email Encryption and How to Encrypt Email
  3. HP — How to Encrypt Email and Send Secure Messages
  4. CISA — Phishing Guidance: Stopping the Attack Cycle at Phase One
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 8551 for S/MIME, Kaspersky and HP guidance on encrypting email, and CISA phishing guidance.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free