How do I get the HTML code of a Gmail email?
In Gmail, open the email, click the three-dot menu in the top right, then choose “Show original”. Copy the full message source and paste it into an HTML email extractor to isolate the useful code.
Explanation
The original source of an email contains technical headers, text and HTML versions, MIME encoding and sometimes quoted-printable content. Copying only the visual rendering of the message is not enough: you need the raw source to properly extract the HTML, images, links and possible tracking elements. Once the source is pasted into the tool, the HTML is decoded and displayed in a clean area with a safer preview.
Concrete example
Example: you receive a newsletter in Gmail and want to recover its HTML. Open the message, click “Show original”, copy the full source, then paste it into the Outilo HTML email extractor.
Common mistake
Common mistake: copying the visible email content instead of its original source. In that case, you often recover incomplete HTML or code already transformed by the browser.
Sources & methodology
This content follows Outilo's editorial guidelines.