Email Attachments: What Gmail and Outlook Do With Your File Metadata

You attach a photo to an email and hit send. Between your outbox and the recipient's inbox, did anything happen to the metadata inside that file? The honest answer is: mostly no, with two specific exceptions people keep getting wrong in both directions. Some assume email strips everything. Others forward a 12 megapixel photo with GPS coordinates to a stranger and never think about it. This is what actually happens, and how to check your own attachments in two minutes instead of trusting a blog post, including this one.

The base rule: email does not rewrite attachments

Email is a transport system, not an image editor. The attachment that arrives is, in the normal case, a byte for byte copy of the file you attached. If your photo carries GPS, camera serial, lens data and a C2PA content credential manifest, all of that arrives with it. This is the single biggest difference between email and consumer messaging apps. When you send the same photo through WhatsApp, the platform re-encodes it and strips EXIF as part of that process. Email does not.

That makes email the most metadata-preserving way most people share files, which is great when you want the recipient to have the full original and bad when you do not.

Exception one: the gallery "share to Gmail" path

The first exception is your phone, not the email service. On iPhone, if you share a photo from the Photos app through Mail, iOS has long offered a setting that strips location data, and the default behavior has changed across iOS versions. On Android, Google Photos offers to remove location data on some share paths. Neither setting is a law of nature and neither removes anything besides location, so camera model, capture timestamp and unique image numbers survive. To know what your own phone does, you have to test it, and testing takes two minutes:

If the GPS block is gone from the received copy, your share path strips location. If GPSDateTime and the camera fields are still there, nothing was stripped. Now you know, for your phone and your app version, instead of guessing.

Exception two: links, and where the file really went

The second exception matters more every year. Gmail refuses to send attachments over 25 MB. When you attach a large photo set, Gmail silently converts it into Google Drive links, and Outlook does the same trick with OneDrive links. Now the file is not an attachment anymore. It is a cloud object with its own sharing permissions, its own access log and its own lifetime. Your metadata survives intact, but the file also lives on a server with a link that can outlive the conversation, can be forwarded, and can be re-shared depending on the permission defaults you clicked through.

The metadata question changes shape here: it is no longer what is inside the file, but who can reach the file. A Drive link sent to one person can end up in a group chat. If the photos are sensitive, the fix is to send actual attachments under the limit, stripped beforehand, because a compressed or zipped attachment under 25 MB stays a real attachment.

What survives in documents and PDFs

Photos get the attention, but the boring office attachments leak more in practice. A Word document attached to an email carries author names, company strings, template paths and total editing time in its XML parts. Outlook does not touch any of it. A PDF carries author metadata, producer strings and full creation timestamps in two separate metadata systems. None of it is stripped in transit. We have covered what is inside PDFs and invoices and Word documents in detail elsewhere; the email-relevant point is that every field described there arrives intact, because email transports bytes, it does not read them.

Zips are worth a sentence because people treat them as a cleaning step. Zipping a file does not remove metadata, it wraps it. Unzip the archive and the EXIF, document properties and edit history are exactly where you left them.

Server-side: what the providers keep

Be precise about the boundary. The email providers do not rewrite your file, but they do keep copies on their servers for as long as retention and legal policy dictate. Gmail keeps message copies, Outlook does the same, and a message that sits in a sent folder is an attachment sitting on someone else's infrastructure with its metadata intact. This is the same tradeoff we walked through for photo cloud services: the transit is safe, the storage is the part you agreed to in the terms.

Recipients matter too. Email is point to point but forward is a button. An attachment with GPS, author names and edit history can be on six new machines within an hour, and none of the forwarding chain strips anything.

How to send an email attachment clean

Email is close to the last honest transport left: what you send is what arrives. Treat the metadata cleaning as your job, because the system will not do it for you. You can inspect any attachment, yours or received, free, with the metadata reader on our homepage.