How to Send Encrypted Emails from Your Mac
In this article
Yes, you can send encrypted emails from your Mac using built-in tools and free software. The most practical method is to use S/MIME certificates with Apple Mail, which encrypts the entire message and requires the recipient to have a certificate too. Alternatively, you can use GPG (GNU Privacy Guard) with a plugin like GPGTools for end-to-end encryption. This guide walks you through both methods, starting with the simpler S/MIME approach.
What You'll Need
- A Mac running macOS Ventura or later (steps may vary slightly on older versions).
- An email account set up in the Apple Mail app (iCloud, Gmail, Outlook, etc.).
- For S/MIME: a digital certificate from a trusted certificate authority (CA). Many organizations provide these, or you can get one from a CA like Comodo, DigiCert, or GlobalSign (some are free for personal use).
- For GPG: the GPGTools software (free) and a GPG key pair (public and private key).
Step-by-Step
Method 1: Using S/MIME with Apple Mail
- Obtain a digital certificate. If your employer or organization provides one, follow their instructions to install it. Otherwise, purchase or get a free S/MIME certificate from a CA. You'll receive a file (often .p12 or .cer) that contains your certificate and private key.
- Install the certificate on your Mac. Double-click the certificate file. Keychain Access will open and prompt you to add it to your keychain. Choose the "login" keychain and click "Add." Enter your Mac password if asked.
- Configure Mail to use the certificate. Open the Mail app, then go to Mail > Settings (or Preferences on older macOS). Select the "Accounts" tab, choose your email account, and click on the "Account" tab (or "Advanced" depending on version). Look for the "Digital Certificate" or "Signing" section. Select your certificate from the drop-down menu next to "Certificate for signing." If you also want to encrypt, select it for "Certificate for encrypting" (usually the same certificate).
- Send an encrypted email. Compose a new message. Before sending, click the lock icon in the top-right corner of the message window (next to the send button) to encrypt the message. If the lock is grayed out, it means you don't have the recipient's public certificate. You'll also see a shield icon to sign the message digitally—click that to add your digital signature.
Method 2: Using GPG with GPGTools
- Install GPGTools. Download GPGTools from the official website (gpgtools.org) and run the installer. It installs GPG, GPG Keychain, and a Mail plugin.
- Create your GPG key pair. Open the GPG Keychain app (in your Applications folder). Click "New" and enter your name and email address. Set a strong passphrase—this protects your private key. Click "Generate" and wait for it to finish.
- Publish your public key. In GPG Keychain, right-click your key and select "Send Public Key to Key Server." This makes your key available to others so they can encrypt emails to you. Alternatively, you can export your public key as a file and share it manually.
- Import the recipient's public key. To send an encrypted email, you need the recipient's public key. If they send you their key file, double-click it to import it into GPG Keychain. Or, you can right-click in GPG Keychain and select "Search Key Server" to find a key by email address.
- Send an encrypted email in Mail. Open Apple Mail and compose a new message. If the GPGTools plugin is installed correctly, you'll see a "PGP" section at the top of the message window. Check the "Encrypt" box and the "Sign" box (optional). If the recipient's key is available, the encrypt box will be enabled. Send the email as usual.
Common Mistakes
- Using the wrong certificate type. S/MIME certificates are tied to your email address. Make sure the certificate you install matches the email account you're using in Mail.
- Forgetting to share your public key. With GPG, if you don't publish or send your public key, others can't encrypt emails to you. Similarly, you must have the recipient's key to encrypt to them.
- Encrypting without signing. Signing your email proves it's from you and hasn't been tampered with. It's a good practice to sign even when not encrypting.
- Ignoring certificate expiry. S/MIME certificates expire (usually after 1-3 years). When yours expires, you'll need to renew it and reinstall it.
Tips
- Test with yourself. Send an encrypted email to your own email address first to verify everything works. You'll need your own public key for that.
- Backup your private key. If you lose your private key (for GPG) or your certificate (for S/MIME), you won't be able to decrypt emails sent to you. Export and store them securely, e.g., in a password manager or an encrypted USB drive.
- Check the lock icon. In Mail, the lock icon should be closed (not open) when encryption is active. If it's open, the email is not encrypted.
- Use a strong passphrase. For GPG, your private key is protected by a passphrase. Choose a long, unique passphrase and never share it.
Troubleshooting
- Encryption option is grayed out. This means Mail doesn't have the recipient's public certificate or key. Ask them to send you their public key or certificate, or look it up on a key server (for GPG).
- Certificate not showing in Mail settings. Reinstall the certificate. Open Keychain Access, find the certificate, and verify it's in the "login" keychain and that it's marked as "Valid." If it's not, double-click it and set "Trust" to "Always Trust" for all options.
- GPG plugin not appearing in Mail. After installing GPGTools, you may need to restart Mail. Also, go to Mail > Settings > General and check "Enable GPG Mail" if that option exists. If not, reinstall GPGTools and ensure you allow the plugin in System Settings > Privacy & Security (look for "Mail" and allow the plugin).
- Recipient can't decrypt. Ensure they have your public key and that you used the correct key. If they're using S/MIME, they need the corresponding private key for the certificate you encrypted to.
Frequently Asked Questions
Is encrypted email the same as a secure connection?
No. A secure connection (TLS/SSL) protects the email in transit between servers, but the email content is visible to the email provider. End-to-end encryption (S/MIME or GPG) encrypts the message body so only the intended recipient can read it.
Can I send encrypted email to someone who doesn't have a certificate?
No. Both S/MIME and GPG require the recipient to have a public key/certificate. You can, however, send a signed but unencrypted email to anyone—they can verify the signature without a certificate.
Does encryption work on iPhone and iPad?
Yes. Apple Mail supports S/MIME on iOS and iPadOS. You'll need to install the same certificate on your iPhone/iPad (usually by emailing the certificate file to yourself and opening it). GPG is more complex on iOS—there are third-party apps like Canary Mail that support GPG.
What happens if I lose my private key?
You will not be able to decrypt emails encrypted to you. This is why backing up your private key is critical. For S/MIME, you can reissue a certificate, but old emails remain unreadable. For GPG, you can revoke your key and create a new one, but old emails are lost.
Are encrypted emails stored encrypted on my Mac?
No. Once you decrypt an email, the plaintext is stored in your Mail database. If your Mac is compromised, an attacker could read it. To protect at rest, enable FileVault (System Settings > Privacy & Security > FileVault) to encrypt your entire disk.
Can I encrypt attachments too?
Yes. Both S/MIME and GPG encrypt the entire message, including attachments. However, if you use GPG, attachments are encrypted as part of the message, not as separate .gpg files (unless you manually encrypt files with GPG).